$ kubectl get all $ kubectl get --all-namespaces
$ kubectl get pod
$ kubectl get pod --show-labels
$ kubectl get pods -l app=example
$ kubectl get node
$ kubectl get node --show-labels
$ kubectl get pod -o wide
$ kubectl get svc $ kubectl get svc -n kube-system
$ kubectl get ns $ kubectl get namespaces
$ kubectl get pod --all-namespaces
$ kubectl get pod --all-namespaces -o wide
$ kubectl get rs
$ kubectl get deploy -o wide $ kubectl get deployments -o wide
原文链接:https://codingdict.com/