Hello, when we drain master node, does it evict controller, scheduler and other processes ? @Mumshad Mannambeth
static pods (controller, scheduler) and daemonsets are not terminated as part of a drain so no
I’ve just tested this to confirm
If you notice, when the components of the control plane are implemented as pods, those pods are static pods managed by the kubelet binary installed and running as a host service. The name of the pod will contain the name of the host at the end.
–ignore-daemonsets will play here. k drain controlplane --ignore-daemonsets