mirror of
https://github.com/autistic-symposium/backend-and-orchestration-toolkit.git
synced 2025-06-08 06:53:00 -04:00
merge files from the blockchain infra repo (#59)
This commit is contained in:
parent
23f56ef195
commit
2a6449bb85
346 changed files with 29097 additions and 132 deletions
62
code/kubernetes/references_for_kubectl.md
Normal file
62
code/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