"Aren't you a developer if one of your projects is managing software updates?"
A good friend asked me that. He is a seasoned developer himself, and I had just explained that one of my main responsibilities for years was coordinating, automating and executing upgrade management at scale in Kubernetes. It startled me at first, and it was painful to hear. This post exists because of him, and for anyone else wondering what upgrade management at scale actually means.
It is neither boring nor trivial. It is messy and exhausting, and it is also rewarding. This is what the daily work looked like from the inside, with the people, the organizational complexity and the automation that made it feasible.
What it actually means
It does not mean logging in and pressing "update" on some dashboard. It means updating critical infrastructure and applications across many Kubernetes clusters, hundreds of namespaces and thousands of running workloads, for many clients with different business structures. And people.
For my team I came up with a way to sort our upgrades into classes.
- Level 1, or L1. Infrastructure upgrades with high criticality, such as Kubernetes versions, ingress controllers and critical databases.
- Level 2, or L2. Applications that are co-managed or fully managed, often with customizations that add complexity.
- Level 3, or L3. Applications we fully manage and maintain ourselves. They are "transparent" to the end client and have no immediate impact.
Each class has its own risk. An L1 upgrade can hit availability. An L2 change needs very detailed coordination with the customer. Even an L3 upgrade, the simple kind, can surface hidden dependencies or legacy complexity nobody looked at for years. And the line between L2 and L3 is blurrier than it looks, and so is the decision to promote an L2 database to L1.
The people part
A big part of my job was coordinating a small team of strong, motivated engineers. Assigning them tasks is not "giving work to someone else". It is ongoing mentoring, training and supervision.
Nearly every upgrade cycle something unexpected happened, usually a small and understandable mistake. Sometimes I was the one who made it. Some examples:
- Someone forgets to include important software in the rollout, or another engineer does not mention it.
- PRs do not follow the templates and protocol we defined, even though they are documented.
- A deployment triggers an incident the customer can see.
- An upgrade is prepared in a hurry and nobody is sure about it.
- A scheduled deployment window is overlooked or missed.
- A small difference between dev and production causes a problem.
- A problem goes in quietly and only shows up the next day, or days later.
- Maintenance mode stays on afterwards, unless a timer was set.
- The recovery procedure is not prepared, much less tested.
- A colleague makes a change without telling anyone or documenting it.
- You hit errors in applications you inherited from other colleagues.
I am not blaming anyone. These are normal human mistakes. Each one is a chance to coach, to teach, to explain the complexity and to support. Sometimes it also means carrying the burden quietly, and sometimes escalating it if it really needs to go up. I have accepted that this is part of being a mentor and the project lead. You help your colleagues grow, even when nobody sees the extra effort that goes into preventing the next error.
Old Helm charts and forgotten software
A constant problem was finding legacy Helm charts, applications nobody had touched in years. They only showed up when something broke, like the Docker Hub rate-limit issue that threatened to break our clusters. Finding these "lost" workloads meant going through outdated documentation and ancient charts never migrated to modern tooling. Every forgotten chart meant research, reading docs that sometimes did not exist, inspecting source code, or reverse-engineering the configuration from what was running in the cluster.
From Helmfile to Argo CD
Before, deployments went only through Helmfile or manual helm upgrade runs, a somewhat prehistoric approach to continuous delivery. It was repetitive and left plenty of room for human error, and we clearly needed something better.
Migrating to Argo CD was a career highlight for our team. The promise was no more drift between Git and the clusters. Argo CD marks an application OutOfSync when the cluster drifts, but it only reverts changes made by hand on the live cluster if you turn on automated sync with self-heal. Some realities worth mentioning:
- The first migrations were laborious. They needed careful state reconciliation and coordination with colleagues, and sometimes with client teams.
- As the number of applications grew, the web UI got sluggish and unresponsive, even after we scaled its resources several times. In the end that is a limitation of Argo CD itself.
- So I trained colleagues to do their upgrades with the
argocdCLI, which is still quite slow, and wrote step-by-step documentation and checklists. Mistakes still happened, broken syncs and bad manifests from PRs, and I cleaned them up behind the scenes.
Coordinating with clients
Client coordination is a job in itself. Every upgrade cycle started with me writing separate communications to dozens of stakeholders across many clusters.
- Prepare the client notices. Every client has its own time windows and its own software.
- Handle the replies, which often bring more requirements or schedule changes.
- Track the open tickets in the ticketing system, so nothing is missed and clients get updates when they need them.
Any misunderstanding can escalate, and one missed nuance can cost hours of toil.
Automation, my painkiller and daydream
Nobody could run this cycle after cycle without automation. I wrote the scripts and tools that made it bearable.
Downtime automation to cut alert fatigue
Anyone who has been on call knows this one. An upgrade fires false-positive alerts, and that disrupts the on-call engineer and the client. To stop it I wrote a Python tool that schedules alert downtimes automatically.
- It can scope a downtime project-wide, cluster-wide, to specific namespaces or to specific clients.
- It knows the L1, L2 and L3 classes, so it does not put unrelated systems in downtime by accident.
It saves the minutes of turning alerts off and on by hand, and it gives engineers and clients peace of mind during maintenance windows.
Blue/green Kubernetes upgrades for L1
The L1 upgrades, meaning Kubernetes versions, ingress controllers and databases, need blue/green deployments. With a colleague I wrote an almost thousand-line Bash script for blue/green Kubernetes migrations. What it does:
- It keeps a statefile of the applications already migrated, so when timing problems or human intervention stop a run halfway, we can pick up where it stopped.
- It migrates a set number of pods at a time, for example batches of 5, so it does not overwhelm the infrastructure or trigger race conditions.
- It takes Velero backups before the upgrade and checks the health of each migration before it moves on to the next workloads. It also runs monitoring checks and creates the alert downtimes.
- It has specific logic for each cloud provider to cordon, uncordon and drain nodes, and it reminds the engineer about the administrative tasks.
The upgrade manager I want
My dream is still to fold all of this into one "Upgrade Manager". It would take parameters such as the type of upgrade and the client configuration, and run scripts for the special cases and integrations, so there are fewer manual steps.
It is hard. There are many upgrade classes, unique client scenarios, different downtime and recovery procedures, alert handling, and a different script for each scenario. But it would let us scale further and stay stable, with fewer mistakes, easier onboarding for newly trained junior engineers, less burnout, and fewer nights troubleshooting human errors or edge cases we missed.
Even with the best tooling, preparing each upgrade stays human work. Someone has to read long changelogs, judge the subtle impact of a change, respect each client's preferences and customizations, and anticipate dependencies across clusters and applications. No script does that. So while I chase full automation, I keep doing that part myself.
Invisible work
When this is done well, clients focus on their business instead of on maintenance. From the outside upgrades look invisible, almost trivial. Underneath there are dependencies, internal communication, training, mentoring, automation, troubleshooting, documentation, and endless cups of coffee.
My friend was not entirely wrong. It is a form of development. There is scripting, automation, pipeline improvements and infrastructure as code in it. But at heart it is about people and process, and about making life simpler for the next engineer.
I would not trade it.