kubectl get pods -A
kubectl logs <pod_name> -n <namespace>
kubectl exec -it <pod_name> -n <namespace> -- sh
kubectl get pods
command to list all the pods in the cluster.kubectl delete pod <pod-name>
command to delete the affected pod.remediation.yaml
) with the correct configuration for the pod.kubectl apply -f remediation.yaml
command to apply the new manifest file and create a new pod.