🦋Update kubectl

This commit is contained in:
Mia von Steinkirch 2019-10-29 20:33:54 -07:00 committed by GitHub
parent 62033fd78d
commit 7d55303aaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
## Kubectl Commands ## Kubectl Commands
#### **Pods** ### **Pods**
Get pods: Get pods:
@ -21,7 +21,7 @@ Get pod's log:
kubectl logs <podname> kubectl logs <podname>
``` ```
#### **Services** ### **Services**
Get services: Get services:
@ -29,7 +29,7 @@ Get services:
kubectl get services -n <namespace> kubectl get services -n <namespace>
``` ```
#### **Deployments** ### **Deployments**
Get deployments: Get deployments:
@ -37,25 +37,25 @@ Get deployments:
kubectl get deployment -n <namespace> kubectl get deployment -n <namespace>
``` ```
#### **Secrets** ### **Secrets**
``` ```
kubectl get secret kubectl get secret
``` ```
#### **Namespaces** ### **Namespaces**
``` ```
kubectl get namespaces kubectl get namespaces
``` ```
#### **Configmaps** ### **Configmaps**
``` ```
kubectl get configmaps -n <namespace> kubectl get configmaps -n <namespace>
``` ```
#### **Ingress** ### **Ingress**
``` ```
kubectl get ingress -n <namespace> kubectl get ingress -n <namespace>