diff --git a/docs/Command Snippets/Kubernetes Snippets.md b/docs/Command Snippets/Kubernetes Snippets.md index a007f67..1fc0686 100644 --- a/docs/Command Snippets/Kubernetes Snippets.md +++ b/docs/Command Snippets/Kubernetes Snippets.md @@ -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 +```