- modify your container so you can signal it somehow to disable writes
- update the containers with that change
- copy existing stateful set and give it a new name
- create a new stateful set from that
- for each replica
- exec into old container, stop writes
- exec into new container, stop writes
- copy over data
- enable writes in new container
- delete old stateful set
Created
May 25, 2017 11:51
-
-
Save discordianfish/bcec7691b0ef9e25bf989cafabcb0fce to your computer and use it in GitHub Desktop.
k8s: Upgrade StatefulSet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment