modified: README.md
This commit is contained in:
22
README.md
22
README.md
@@ -37,7 +37,9 @@ Kubernetes is an open‑source platform that automates the deployment, scaling,
|
|||||||
- [statefulset - Set Replicas](#statefulset---set-replicas)
|
- [statefulset - Set Replicas](#statefulset---set-replicas)
|
||||||
- [Deployment](#deployment)
|
- [Deployment](#deployment)
|
||||||
- [Deployment - Set Replicas](#deployment---set-replicas)
|
- [Deployment - Set Replicas](#deployment---set-replicas)
|
||||||
- [Deployment - Restart](#deployment---restart)
|
- [Deployment - rollout restart](#deployment---rollout-restart)
|
||||||
|
- [Daemonset](#daemonset)
|
||||||
|
- [Daemonset - rollout restart](#daemonset---rollout-restart)
|
||||||
- [certs](#certs)
|
- [certs](#certs)
|
||||||
- [list all certs](#list-all-certs)
|
- [list all certs](#list-all-certs)
|
||||||
- [get cert end date](#get-cert-end-date)
|
- [get cert end date](#get-cert-end-date)
|
||||||
@@ -549,12 +551,22 @@ kubectl patch deployment <deployment-name> \
|
|||||||
-p '{"spec":{"replicas":0}}'
|
-p '{"spec":{"replicas":0}}'
|
||||||
```
|
```
|
||||||
|
|
||||||
### Deployment - Restart
|
### Deployment - rollout restart
|
||||||
|
|
||||||
**example restart coredns:**
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl rollout restart deployment coredns -n kube-system
|
NAME="???"
|
||||||
|
NAMESPACE="???"
|
||||||
|
kubectl rollout restart deployment $NAME -n $NAMESPACE
|
||||||
|
```
|
||||||
|
|
||||||
|
## Daemonset
|
||||||
|
|
||||||
|
### Daemonset - rollout restart
|
||||||
|
|
||||||
|
```bash
|
||||||
|
NAME="???"
|
||||||
|
NAMESPACE="???"
|
||||||
|
kubectl rollout restart daemonset $NAME -n $NAMESPACE
|
||||||
```
|
```
|
||||||
|
|
||||||
## certs
|
## certs
|
||||||
|
|||||||
Reference in New Issue
Block a user