Pods That Come Back
You run kubectl delete pod metrics-node01 and it reappears within seconds with the same name. It has no ownerReferences and its name ends with the node name. How do you remove it for good?
kubectl delete pod metrics-node01
ownerReferences
Choose one answer
Run kubectl delete pod metrics-node01 --force --grace-period=0, which removes it from etcd before the kubelet can report it to the API server again.
kubectl delete pod metrics-node01 --force --grace-period=0
Cordon node01 and delete the Pod again, so the scheduler can't place it there.
node01
Find the ReplicaSet that recreates it with kubectl get rs -A and delete that ReplicaSet.
kubectl get rs -A
It's a static Pod: remove its manifest from the kubelet's staticPodPath on node01 (usually /etc/kubernetes/manifests).
staticPodPath
/etc/kubernetes/manifests