mirror of
https://github.com/autistic-symposium/backend-and-orchestration-toolkit.git
synced 2025-06-08 15:02:55 -04:00
Clean up this repo
This commit is contained in:
parent
0d4632e7dd
commit
024892437e
309 changed files with 7 additions and 15 deletions
62
kubernetes/references_for_kubectl.md
Normal file
62
kubernetes/references_for_kubectl.md
Normal 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>
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue