Quantcast
Channel: Can not get logs of Kubernetes K8S pod (to debug) - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Can not get logs of Kubernetes K8S pod (to debug)

$
0
0

I have 1 master and 2 nodes running and kube-proxy to debug.

kube-m1:/$ kubectl get pod -n kube-system kube-proxy-tmt58NAME               READY   STATUS    RESTARTS   AGEkube-proxy-tmt58   1/1     Running   6          439d

How can I specify a namespace to get kubectl logs to debug a pod?

kube-m1:/$ kubectl logs kube-proxy-tmt58Error from server (NotFound): pods "kube-proxy-tmt58" not found

I am new in kubernetes so, also would be great and very helpful to get some good and working guides or materials about pods and nodes debugging :)

Thanks a lot.


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images