docs

Useful kubernetes commands

Deployment commands

# get all deployments in the default namespace only
kubectl get deploy

Services commands

# get all services in the default namespace only
kubectl get svc

# get all services in all namespaces
kubectl get svc -A

Node commands

# get all nodes in the current cluster
kubectl get node

Ingress commands

# get all ingress services in the default namespace
kubectl get ingress