Quick Actions
kubectl get
Description
Display one or many resources.
Command
kubectl get
Examples
List all pods
kubectl get pods
List pods in specific namespace
kubectl get pods -n default
List pods with wide output
kubectl get pods -o wide
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
pods |
string | No | List pods |
services |
string | No | List services |
deployments |
string | No | List deployments |
nodes |
string | No | List nodes |
-o |
string | No | Output format (yaml, json, wide) |
-n |
string | No | Namespace |
Command Info
Category:
Resource Management
Type:
Kubernetes
Views:
12
Status:
Active
Tags
resources
list
display