kubernetes stop and delete all pods code example
Example 1: kubectl delete all pods
kubectl delete --all pods
Example 2: force delete pod kubernetes
kubectl delete pods <pod> --grace-period=0 --force
kubectl delete --all pods
kubectl delete pods <pod> --grace-period=0 --force