kubectl get all --all-namespaces

From wikieduonline
Jump to navigation Jump to search

kubectl get all --all-namespaces
kubectl get all --all-namespaces
NAMESPACE     NAME                                                  READY   STATUS    RESTARTS   AGE
default       pod/metrics-server-6467f65c76-kfkkl                   1/1     Running   0          2d4h
default       pod/my-release-kubernetes-dashboard-5bf6f9f78-phkvz   1/1     Running   0          2d4h
kube-system   pod/aws-node-fbk8w                                    1/1     Running   0          2d22h
kube-system   pod/aws-node-v2wr6                                    1/1     Running   0          2d22h
kube-system   pod/coredns-f47955f89-d95dd                           1/1     Running   0          2d22h
kube-system   pod/coredns-f47955f89-w746j                           1/1     Running   0          2d22h
kube-system   pod/kube-proxy-67lw4                                  1/1     Running   0          2d22h
kube-system   pod/kube-proxy-h7mwp                                  1/1     Running   0          2d22h

NAMESPACE     NAME                                      TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)         AGE
default       service/kubernetes                        ClusterIP   172.20.0.1      <none>        443/TCP         2d22h
default       service/metrics-server                    ClusterIP   172.20.94.132   <none>        443/TCP         2d4h
default       service/my-release-kubernetes-dashboard   ClusterIP   172.20.8.159    <none>        443/TCP         2d4h
kube-system   service/kube-dns                          ClusterIP   172.20.0.10     <none>        53/UDP,53/TCP   2d22h

NAMESPACE     NAME                        DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
kube-system   daemonset.apps/aws-node     2         2         2       2            2           <none>          2d22h
kube-system   daemonset.apps/kube-proxy   2         2         2       2            2           <none>          2d22h

NAMESPACE     NAME                                              READY   UP-TO-DATE   AVAILABLE   AGE
default       deployment.apps/metrics-server                    1/1     1            1           2d4h
default       deployment.apps/my-release-kubernetes-dashboard   1/1     1            1           2d4h
kube-system   deployment.apps/coredns                           2/2     2            2           2d22h
NAMESPACE     NAME                                                        DESIRED   CURRENT   READY   AGE
default       replicaset.apps/metrics-server-6467f65c76                   1         1         1       2d4h
default       replicaset.apps/my-release-kubernetes-dashboard-5bf6f9f78   1         1         1       2d4h
kube-system   replicaset.apps/coredns-f47955f89                           2         2         2       2d22h


Related[edit]

See also[edit]

Advertising: