how to stop all pods in kubernetes code example
Example 1: stop all kubernetis pods
#All pods
kubectl delete --all deployments
Example 2: kubectl delete all pods
kubectl delete --all pods
Example 3: kubectl delete pods
kubectl delete pod podname