Kubernetes: Restart a Deployment Safely
BashRolling restart and watch until it's healthy.
Bash · 2 lines
copied 10 times
kubectl rollout restart deployment/api -n production kubectl rollout status deployment/api -n production --timeout=5m
0
Fire
2
Learned something
1
Saved me time
2
Mind-blown
Sign in to react and star