k8s stop pod code example
Example 1: kubectl delete all pods
kubectl delete --all pods
Example 2: kubectl get pod by node
kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node>
kubectl delete --all pods
kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node>