kubernetes - Use kubectl to delete a node that has running pods on it -
we using heat + kubernetes (v0.19) manage our apps. when rolling update, container staring fail on node kubelet on node retry fail. updating hang there not behavior expected.
i found using "kubectl delete node" remove node can avoid pods scheduled node. in our env, node deleted may have running pods on it.
so question is: after using "kubectl delete node" remove node, pods on node still worked correctly ?
if want cancel rolling update, remove failed pods , try again later, have found best stop update loop ctrl+c
, delete replication controller corresponding new app failing.
^c kubectl delete replicationcontrollers your-app-v1.2.3
Comments
Post a Comment