Is it safe to delete the node that contains cilium-operator, and will it switched be to start working on another node automatically itself?

Posted May 8, 2021 455 views
KubernetesDigitalOcean Managed Kubernetes

I’ve got 4 nodes running on my Kubernetes Cluster. And I don’t need one of them that contains only cilium-operator and csi-do-node etc. What if I delete it? Will the cilium-operator starts on other nodes? If yes, how long does it take to start working correctly on another node?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

@yondon898 In general, I recommend uninstalling everything that you don’t need within the cluster before deleting a given node. Why? If the K8s controller manager determines that the current state isn’t equal to the desired state, it will perform the necessary actions to make the current state equal to that of the desired state. Thus, you can run the risk of having the pods on the deleted node scheduled on the remaining nodes. In short, a K8s cluster consists of one or more nodes that are managed by a control plane and shouldn’t be treated like three isolated machines.

Think different and code well,