yawol
yawol copied to clipboard
Ignore terminating nodes
The generic Kubernetes cloud-controller-manager implementation ignores nodes that are marked with the ToBeDeletedByClusterAutoscaler
taint (see https://github.com/kubernetes/cloud-provider/blob/81e4f58b4d1badd71d633d356faaaf69d971d874/controllers/service/controller.go#L64). This PR let's yawol also ignore those nodes.
In addition, the Terminating
condition set by the Gardener machine-controller-manager is also considered. This should allow yawol to avoid sending new traffic to nodes that are about to be shut down.