kubernetes stop all pods 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 get pod by node
kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node>
Example 4: kubectl describe to yaml
kubectl describe <type> <name> -o yaml