how to delete all deployments in kubernetes once command code example
Example 1: kubectl delete all pods
kubectl delete --all pods
Example 2: delete all pods in default namespace
kubectl delete --all pods --namespace default
kubectl delete --all pods
kubectl delete --all pods --namespace default