kubectl get pods --all-namespaces
kubectl logs cart-ws -n candy-store
# Save the Pod Descriptor of Broken Pod
kubectl get pod <pod name> -n <namespace> -o yaml --export > broken-pod.yml
# Delete Broken Pod
kubectl delete pod <pod name> -n <namespace>
# Recreate Broken Pod
kubectl apply -f broken-pod.yml -n <namespace>
# Verify Fix
kubectl get pod <pod name> -n <namespace>