Skip to main content

Sometimes I write code

Tag: grafana

StatefulSet Updates: Demystifying OnDelete

I was updating my kubernetes cluster the other week and noticed that there was a chart update for my MongoDB install. I’m not sure what prompted me to look, but I noticed that before the update, I was running 2 different minor versions of MongoDB in my replica set (4.4.8 vs 4.4.10). This had me a bit concerned until I realized that I’d setup the StatefulSet to have an updateStrategy of OnDelete like so: