Skip to content

Get details list of pods using kubectl

To get detailed list of pods with kubectl use the following command:

kubectl get pods -o wide -n <namespace>
Advertisements

Example

$ kubectl get pods -o wide
NAME                                      READY   STATUS    RESTARTS   AGE     IP             NODE               NOMINATED NODE   READINESS GATES
curl                                      1/1     Running   1          3d21h   10.244.0.168   pool-20-3x-8tags   <none>           <none>
dnsutils                                  1/1     Running   76         3d4h    10.244.1.19    pool-20-3x-8tag5   <none>           <none>
images-garbage-cleaner-5d7j7              1/1     Running   0          4d2h    10.244.1.56    pool-20-3x-8tag5   <none>           <none>
images-garbage-cleaner-xwjrn              1/1     Running   0          4d2h    10.244.0.163   pool-20-3x-8tags   <none>           <none>
images-garbage-cleaner-zprhb              1/1     Running   0          4d2h    10.244.1.240   pool-20-3x-8tagp   <none>           <none>
traefik-7c77555fdf-lx7cl                  1/1     Running   0          17d     10.244.1.110   pool-20-3x-8tag5   <none>           <none>

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.