mirror of
https://github.com/lemeow125/Notes.git
synced 2025-01-18 18:33:02 +08:00
vault backup: 2024-11-22 11:22:55
Affected files: docs/Command Snippets/Kubernetes Snippets.md
This commit is contained in:
parent
8748e8e4a7
commit
eb573c83cd
1 changed files with 4 additions and 0 deletions
|
@ -48,3 +48,7 @@ kubectl annotate deployment/myapp-deployment kubernetes.io/change-cause="DESCRIB
|
|||
# You can then view the rollout history
|
||||
kubectl rollout history deployment/myapp-deployment
|
||||
```
|
||||
- Restart a deployment (repulls latest image if `imagePullPolicy` is set to `Always`)
|
||||
```bash
|
||||
kubectl rollout restart deployment/myapp-deployment
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue