kube-vip
kube-vip copied to clipboard
Select kube-vip instance by LoadalancerClass
I'm using two instances for the private/public interfaces. Currently I'm deployed them to separate namespaces and they listening their namespace only.
Now I have more namespace which needed vip, but this config will not handle it. I found the ticket about the LoadbalancerClass, It now restrict kube-vip to one label key. https://github.com/kube-vip/kube-vip/issues/413 witch not far to solve this problem.
If the label not static, but configurable via env I can deploy multiple kube-vip checking all namespaces but the instances restricted to their configured LoadbalancerClass. I think this can be more flexible/useable.
+1, but you have also to change add a parameter to set the lease name, because the kubevip instance uses a standard name (plndr-svcs-lock) for all instances.