Answers for "kubernetes get deployments"

5

kubernetes get deployments

# Get pods in default namespace
kubectl get deployments

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

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

Code answers related to "kubernetes get deployments"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language