To recover pods
Steps
1 |
Enter the following command to recover a pod: # kubectl delete pod --namespace pod_namespace pod_name ↵ where pod_namespace is the name of the pod’s namespace and pod_name is the name of the pod Note: Ensure the full name of the pod is entered for pod_name. To find the full name of a pod, see the procedure To retrieve a list of pods. |
2 |
The pod is automatically redeployed. You can use the command to recover a pod in an errored state. End of steps |