backend-and-orchestration-t.../kubectl.md
Mia von Steinkirch 7d55303aaf
🦋Update kubectl
2019-10-29 20:33:54 -07:00

613 B

Kubectl Commands

Pods

Get pods:

    kubectl get pods -n <namespace>

Debug pods:

    kubectl describe pod <podname>

Get pod's log:

    kubectl logs <podname>

Services

Get services:

    kubectl get services -n <namespace>

Deployments

Get deployments:

    kubectl get deployment -n <namespace>

Secrets

    kubectl get secret

Namespaces

    kubectl get namespaces

Configmaps

    kubectl get configmaps -n <namespace>

Ingress

    kubectl get ingress -n <namespace>