My reading into Kubernetes has seemed to say that Statefulsets are the best answer for "stateful" applications. (A Gitlab instance in my case.) Creating a single replica of the container is fine, but what happens when I push an update?
If my application has a claim for a single persistent volume, does pushing an update connect back to the same disk? The Google Kubernetes Engine docs state that each pod will receive its own volume and that "rolling" updates are the default. How can this work if the new container created during a rolling update needs the data in the volume still in use by the first replica?
I'm probably missing something that has me running in circles around the answer.