kubectl get pods -A
kubectl describe pod <pod_name> -n <namespace>
kubectl logs <pod_name> -n <namespace>
kubectl get pods -o wide
kubectl get pod <pod-name> -o yaml > pod.yaml
pod.yaml
file and locate the container that made the unauthorized request.pod.yaml
file.kubectl apply -f pod.yaml
kubectl get pods -o wide