adamant-kite-43734
11/25/2023, 1:35 PMrefined-analyst-8898
11/25/2023, 2:14 PMrefined-analyst-8898
11/25/2023, 3:06 PMTRY nuc1
vip: ""
viphwaddr: ""
vipmode: ""
TRY nuc2
vip: 192.168.30.220
viphwaddr: 02:31:01:75:56:93
vipmode: dhcp
TRY node3
vip: ""
viphwaddr: ""
vipmode: ""
refined-analyst-8898
11/26/2023, 6:02 PMbored-painting-68221
11/27/2023, 4:19 PMWhere should I look in Harvester's Kube API to diagnose why none of the three nodes are binding the VIP IP on their mgmt-br interface?If you have SSH access to a Harvester node and/or already have kubectl pointing at its kubeconfig: there should be kube-vip pods under the harvester-system namespace:
# kubectl get pods -n harvester-system
Then you can read the pod logs
# kubectl logs $KUBEVIP-POD-NAME -n harvester-system
This raises the question, after creating the Harvester cluster and selecting DHCP as the method of obtaining an IP for the VIP, will all nodes, including the first node, thereafter "remember" the VIP and automatically bind it according to leader selection algorithmYes.
or is it necessary to create static lease reservations for all nodes?You need to create static DHCP leases for each node address and then one static lease for the VIP (
02:31:01:75:56:93
-> 192.168.30.220
)
I noticed the VIP IP on the mgmt-br interface has /32 mask, whereas the node IP has /24. Is that expected?Yeah
refined-analyst-8898
11/27/2023, 9:12 PMbored-painting-68221
11/27/2023, 9:14 PMWhat role does that VIP Ethernet address play if not for migrating the VIP at L2?Migrating the VIP at L2 is the main point of it having its own MAC address as I understand it
refined-analyst-8898
11/27/2023, 9:17 PM