modified: README.md
This commit is contained in:
11
README.md
11
README.md
@@ -7,6 +7,7 @@ Kubernetes is an open‑source platform that automates the deployment, scaling,
|
||||
- [Kubernetes DNS](#kubernetes-dns)
|
||||
- [Services DNS Name](#services-dns-name)
|
||||
- [kubectl](#kubectl)
|
||||
- [Get Pod](#get-pod)
|
||||
- [Pod delete](#pod-delete)
|
||||
- [OOMKilled](#oomkilled)
|
||||
- [Rollout](#rollout)
|
||||
@@ -64,6 +65,16 @@ kubectl is the command‑line tool used to interact with Kubernetes clusters. Th
|
||||
kubectl create namespace tests
|
||||
```
|
||||
|
||||
### Get Pod
|
||||
|
||||
**Get pod name by label ap:**
|
||||
|
||||
```bash
|
||||
POD_NAME=$(kubectl get pod -l app=borg-backup-sidekick -n git-limbosolutions-com -o jsonpath='{.items[0].metadata.name}')
|
||||
|
||||
echo $POD_NAME
|
||||
```
|
||||
|
||||
### Pod delete
|
||||
|
||||
**Restart local Path Provizionizer:**
|
||||
|
||||
Reference in New Issue
Block a user