OpenEBS, volumes, and kuberenetes upgrades
I installed the OpenEBS application from the marketplace onto a Kubernetes cluster. Following the instructions from MayaData, I’ve created three unformatted volumes of the same size and attached them to three different nodes in my cluster. I’ve created a StoragePool, and StorageClasses, and PersistentVolumeClaims against those. I can mount the OpenEBS PersistentVolumes into my containers giving me replicated storage on my cluster. So far, so good.
My question is, what will happen to those volumes when I upgrade my cluster to a new version of Kubernetes? DigitalOcean’s software will create new nodes, but will it attach volumes to those nodes in the same way it did when I created them (e.g., one volume per node)? Will it even attach them at all? I’m a bit scared to find out.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×