modified: README.md
This commit is contained in:
22
README.md
22
README.md
@@ -22,6 +22,7 @@ Kubernetes is an open‑source platform that automates the deployment, scaling,
|
||||
- [Manifest - StringData](#manifest---stringdata)
|
||||
- [Inline with heredoc and environment variables](#inline-with-heredoc-and-environment-variables)
|
||||
- [substr](#substr)
|
||||
- [nodes](#nodes)
|
||||
- [Deployment](#deployment)
|
||||
- [Deployment - Set Replicas](#deployment---set-replicas)
|
||||
- [Deployment - Restart](#deployment---restart)
|
||||
@@ -68,6 +69,12 @@ POD_NAME=$(kubectl get pod -l app=borg-backup-sidekick -n git-limbosolutions-com
|
||||
echo $POD_NAME
|
||||
```
|
||||
|
||||
**Get pod name by text on description, for example find by ip:**
|
||||
|
||||
``` bash
|
||||
kubectl get pods -A -o wide | grep 10.0.3.224
|
||||
```
|
||||
|
||||
### Pod delete
|
||||
|
||||
**Restart local Path Provisioner:**
|
||||
@@ -90,7 +97,6 @@ kubectl get pods --all-namespaces \
|
||||
| grep OOMKilled
|
||||
```
|
||||
|
||||
|
||||
### Custom Resource Definitions
|
||||
|
||||
- **Definition:** A Custom Resource Definition (CRD) is an extension of the Kubernetes API.
|
||||
@@ -317,6 +323,20 @@ envsubst < ./secret.yaml | kubectl apply -f -
|
||||
|
||||
```
|
||||
|
||||
## nodes
|
||||
|
||||
**get node taints:**
|
||||
|
||||
``` bash
|
||||
kubectl describe node <NODE_NAME> | grep taint
|
||||
```
|
||||
|
||||
**remove annotation:**
|
||||
|
||||
``` bash
|
||||
kubectl annotate node <NODE_NAME> <ANNOTATION_NAME>-
|
||||
```
|
||||
|
||||
## Deployment
|
||||
|
||||
### Deployment - Set Replicas
|
||||
|
||||
Reference in New Issue
Block a user