We have a small cluster setup using
kubeadm on 3 linux systems. Due to the amount of load we put in using scripts we run on nodes, there are some memory leaks and often need a reboot.
To schedule an automated reboot, I have setup a script to use
kubectl and prepare cluster for shutdown using drain and cordon operations.
Now for the core part, i.e. to reboot the node, I was looking for options and just had this thought. Can’t we leverage kubernetes communication channel to reboot a node remotely? It would be much better than setting up the ssh keys and separate config to make a remote reboot operation.
I would appreciate any information related to the topic.