Wednesday, 11 September 2019

kubectl delete

if you just kubectl delete pod xxxx,

you may find the pod will come back,  you deleted it but it also triggered the replica thing, it will auto restart a new one.

so you need to delete the deplotment first

kubectl get deployment

check which deployment do you have, then:

kubectl delete deployment xxxxx

No comments:

Post a comment