Differences between revisions 1 and 2
Revision 1 as of 2021-10-21 05:02:15
Size: 171
Editor: PieterSmit
Comment:
Revision 2 as of 2021-10-21 05:51:23
Size: 575
Editor: PieterSmit
Comment:
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
      1. Recreate (Scale down to 0, then backup up)
      2. 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 (last edited 2021-10-21 05:51:23 by PieterSmit)