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.
kubectl delete pod metrics-node01 --force --grace-period=0
Cordon node01 so the Pod cannot be scheduled there again.
node01
Delete the ReplicaSet that owns it with kubectl delete rs.
kubectl delete rs
Remove its manifest from the kubelet's staticPodPath on node01 (usually /etc/kubernetes/manifests).
staticPodPath
/etc/kubernetes/manifests