Kubernetes delete Pods code example
Example 1: kubectl delete all pods
kubectl delete --all pods
Example 2: kubectl delete pods
kubectl delete pod podname
Example 3: force delete pod kubernetes
kubectl delete pods <pod> --grace-period=0 --force