Successfully added
AKS and Kubernetes Commands (kubectl)
by Patrik
Kubectl Pods Command
A Pod is a group of one or more containers with shared storage, network, and lifecycle and is the basic deployable unit in Kubernetes.
How to get detailed information about Pods using kubectl
command.
List Pods in the default Namespace for the current context:
$ kubectl get pods $ kubectl get pods -o wide
List all Pods from the all Namespace:
$ kubectl get pods --all-namespaces
Get Pods from a particular Namespace:
$ kubectl get pods --namespace <namespace-name>
Get detailed information about a Pod
$ kubectl describe pods <pod-name>
Referenced in:
Comments