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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -