⇤ ← Revision 1 as of 2021-10-21 05:02:15
171
Comment:
|
← Revision 2 as of 2021-10-21 05:51:23 ⇥
575
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
* Rolling Updates and Rollbacks * Strategy's 1. Recreate (Scale down to 0, then backup up) 1. Rolling Updates (Default) * Update and apply -f deployment creates new rollout. * the deployment creates a new Replica Set - 2 {{{ kubectl apply -f deployment kubectl set deployment --image }}} * roll back with {{{ kubectl rollout undo deployment/myapp-deployment }}} |
k8s/StudyNotes/ Rollout & Versioning
kubectl rollout status deployment/myapp-deployment
kubectl rollout history deployment/myapp-deployment
- Rolling Updates and Rollbacks
- Strategy's
- Recreate (Scale down to 0, then backup up)
- Rolling Updates (Default)
- Strategy's
- Update and apply -f deployment creates new rollout.
the deployment creates a new Replica Set - 2
kubectl apply -f deployment kubectl set deployment --image
roll back with
kubectl rollout undo deployment/myapp-deployment