Answers for "kubectl get pods"

0

kubectl get pods

# Get pods in default namespace
kubectl get pods

#Get Pods in my-namespace
kubectl get pods -n my-namespace

#Get Pods in all namespaces
kubectl get pods --all-namespaces
Posted by: Guest on October-20-2020
2

kubectl get pod by node

kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node>
Posted by: Guest on September-04-2020
0

how get pods in kuber

# Get Pods in all namespaces
kubectl get po -A

# Get pods in default namespace
kubectl get po
Posted by: Guest on April-01-2021
0

kubectl describe to yaml

kubectl describe <type> <name> -o yaml
Posted by: Guest on August-25-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language