kubectlBasics
kubectl get
Lists one or more resources of a given type.
Syntax
kubectl get <resource> [-n <namespace>]
Examples
List pods in a namespace
kubectl get pods -n productionList all resources with more detail
kubectl get pods -o wideLists one or more resources of a given type.
kubectl get <resource> [-n <namespace>]
List pods in a namespace
kubectl get pods -n productionList all resources with more detail
kubectl get pods -o wide