Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Wrong Node IPs #3

Open
Mattes83 opened this issue Jun 26, 2024 · 1 comment
Open

Wrong Node IPs #3

Mattes83 opened this issue Jun 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Mattes83
Copy link
Contributor

What steps did you take and what happened:
I deployed a cluster and used additionalNetworks to attach all cluster nodes to a private network.
This works fine, see
image

The problem is Node.status.addresses shows
addresses:
- type: InternalIP
address: 194.164.205.212
- type: Hostname
address: ...

What did you expect to happen:
I'd expect
addresses:
- type: ExternalIP
address: 194.164.205.212
- type: InternalIP
address: 10.7.222.16

Anything else you would like to add:
We need a correctly set internal IP to utilize ciliums auto-direct-node-routes feature.
This would enable us to keep the internal traffic inside our datacenter.

@Mattes83 Mattes83 added the bug Something isn't working label Jun 26, 2024
@avorima
Copy link
Collaborator

avorima commented Jun 26, 2024

CCM currently only considers the primary NIC when looking up the values for ExternalIP and InternalIP. CCM actually also no longer reports ExternalIP since 1.29.

Next chance I see of addressing this is in 1.31.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants