Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kubernetes get services

# Get pods in default namespace
kubectl get services

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

#Get Pods in all namespaces
kubectl get services --all-namespaces
 
PREVIOUS NEXT
Tagged: #kubernetes #services
ADD COMMENT
Topic
Name
9+9 =