By Lloyd Owen
After every Kubernetes upgrade, the sites that i host that require persistent volumes always suffer downtime.
I’m scared to update now.
My cluster has 3 node pools with 2 nodes in each. When i click upgrade, when it hits a node with a PV, it detaches the volume and recycles the node. At this point the site(s) are down.
When the node is recycled, the volume isn’t automatically reattached, i have to attach it via the DO Console.
Furthermore, once that is done, i have to add a node label, and in my deployments specify node selectors for that label.
Otherwise, the deployments will stay “Pending” because for whatever reason it cannot launch the pod/deployment on the correct node.
This whole process takes around 20 minutes, in that time my sites are mostly down.
Is there any possible way to make this whole process smoother?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.