<pod_name>
” to view the details of the pod and its containers.kubectl get pods -n <namespace>
kubectl get pod <pod-name> -n <namespace> -o yaml > pod.yaml
pod.yaml
file and locate the container that triggered the event.pod.yaml
file.kubectl apply -f pod.yaml -n <namespace>
kubectl get pod <pod-name> -n <namespace>