🍣 Rename kubectl

This commit is contained in:
MvS 2019-11-03 09:24:05 -08:00
parent e5c1842926
commit 252cd9e1d4

62
references_for_kubectl.md Normal file
View file

@ -0,0 +1,62 @@
## 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>
```