vault backup: 2024-11-22 11:22:55

Affected files:
docs/Command Snippets/Kubernetes Snippets.md
This commit is contained in:
Keannu Bernasol 2024-11-22 11:22:55 +08:00
parent 8748e8e4a7
commit eb573c83cd

View file

@ -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
```