how to delete all pods which are running in kubernetes code example
Example 1: kubectl delete all pods
kubectl delete --all pods
Example 2: kubectl delete pods
kubectl delete pod podname
kubectl delete --all pods
kubectl delete pod podname