Answers for "kubernetes command to get services with ports"

1

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
Posted by: Guest on October-20-2020
0

how to get just the ports in kubernetes

kubectl describe service --all-namespaces | grep -i nodeport
Posted by: Guest on October-15-2021

Code answers related to "kubernetes command to get services with ports"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language