Answers for "how to know where the pods are running using kubectl"

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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language