-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Label the node with the Talos configured virtual IP #167
Comments
Hi, do you use Talos VIP (float-ip in control plane) for |
Nope. My current planned use-case is to dynamically decide which endpoint to use in my shell scripts wrapping |
To be honest, i did not get your idea. |
Don't use Talos VIP for Talos API endpoint - it will break, as it depends on etcd quorum, and Talos API access you need all the time. |
I'm using
|
Hi, sorry for delay. It looks like the kubelet may have announced the wrong IP and is using the kube-vip IP as the node IP. If you are using kube-vip or other floating IP solutions, you should set the node IP in the machine configuration to avoid problems: machine:
kubelet:
nodeIP:
validSubnets: ["192.168.100.6/32"] |
IDK if it's related but in when using GUA IPV6 for talos VIP + the CCM (but without pod IPAM), node* hosting the VIP have the external IP defined to the VIP address. This happens in single-stack or dual-stack setup:
interfaces:
- deviceSelector:
physical: true
addresses:
- xxxx:xxxx:xxxx:1886:669:0:0:1
dhcp: false
vip:
ip: xxxx:xxxx:xxxx:1886:669:0:0:0 |
Hello! From what I understand, the issue seems to be that the VIP is appearing as the EXTERNAL-IP. Thank you!
|
So I have 'give up' the VIP to a proper HA proxy. Because I can't use VIP as kube-api endpoint with kubespan following this 'limitation'. |
Oh, I see. You have all /128 IPs. The TalosCCM doesn’t know about VIP, but I believe this can be fix in a future update. Thanks for bringing up this case. |
BTW about IPv6 /128 usage, it's seems to break TalosCCM node IPAM. I think I will open a issue/PR when identifying what can be wrong. |
TalosCCM node IPAM works only with IPv6-subnet, because we need extra IPs to assign to the pods.
|
Feature Request
Basically, implement siderolabs/talos#7166 in Talos-CCM.
Description
It would be handy to have a label that gets moved around as the VIP changes nodes. I'd expect it to only support the built-in vip rather than any other implementation's. I'm not sure how to determine what the VIP is configured to be, though.
The text was updated successfully, but these errors were encountered: