I'm hosting a Kubernetes cluster on VMs/VPS from a random cloud provider not providing any Kubernetes things at all, meaning with a dedicated public IP address and to allow the trafic coming to the worker nodes, I'm defining my Service with the spec.externalIPs
with the fixed list of IP addresses.
I'm looking for a way to get that list updated when a node is drained/down automatically.
I had a look at the existing operators from https://operatorhub.io/ but I haven't found any that seem to cover my use case.
The idea would that when the event of a node passing to NotReady is emitted, the Service is updated with the Nodes being Ready.
Is there any operator that could allow doing that?
question from:
https://stackoverflow.com/questions/65920123/how-to-automatically-update-the-service-spec-externalips-when-a-kubernetes-wor 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…