-
This question may reveal my ignorance of how a virtual IP works, but I noticed that when I installed my first control plane node and included a VIP, it added it to the list of IP addresses in the upper right corner of the dashboard. When I installed my second control plane node with a VIP, it did not add it to its list of IPs. After adding/removing the VIP from the second node and trying to get it to claim it, it occurred to me that this may not be expected behavior. Can anyone confirm/deny that I should be seeing both nodes claim the VIP before I waste any more time? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
VIP is only active on one controlplane at a time, it resides with the controlplane that's the etcd leader |
Beta Was this translation helpful? Give feedback.
-
Also please keep in mind that running two nodes etcd cluster doesn't make much sense, as if one the nodes fails, etcd would lose quorum. VIP and multi-node controlplane make sense only with 3 (or 5, 7, ...) nodes. |
Beta Was this translation helpful? Give feedback.
-
I ran into this as well, after a day of trial and error here is what I found. ENV: talosconfig file needs to have to have all 3 nodes in it for endpoints. I.E. context: talosclupm-1 You also need to make sure that your machine certCAs have your IP listed in the machine config and or controlplane.yaml file for each node config file. I.E.
Check that the VIP is showing up on one of the nodes talosctl -n get addresses | grep SIDE NOTE: |
Beta Was this translation helpful? Give feedback.
VIP is only active on one controlplane at a time, it resides with the controlplane that's the etcd leader