What AI changed in my ops job

10 min read #ai #sre #devops

Contents

There are lots of articles about AI on the development side, far fewer on the ops side. Yet that might be where it changed the way I work the most.

I’m not going to tell you that AI will replace SREs. I’m just going to explain how I use it and what it changed for me.

At first, a search engine

At first, I used AI as a slightly smarter Google. A regex I didn’t feel like writing, a jq filter, a PromQL query, or just “how do I do X in this tool?”. I copied, I checked, I pasted.

It was handy, but nothing revolutionary. I saved a few minutes a day.

Then I stopped opening the docs

Then came Copilot, then Claude Code, and better and better models.

Little by little, I started generating my configs directly. Kubernetes manifests, Helm values, alerting rules, CI pipelines, and much faster than before.

Today I barely open the docs anymore. And I realized that was what took up most of my time at work. I knew what I wanted to do, but I spent hours in the docs figuring out how to write it.

That doesn’t mean I care less about how things work, quite the opposite. The time I used to spend writing configs, I now spend understanding how the tools I use actually work and thinking about what I really want to do.

Anyway, I focus on what matters, and I leave the writing to the AI.

But AI doesn’t just help me write, it also helps me find ideas. Sometimes I give it free rein to suggest solutions or architectures, and it comes up with options I wouldn’t have thought of. I often learn something along the way.

Troubleshooting

Where it really changed things is debugging.

Now the AI has access to my tools (metrics, logs, the cluster), read-only. It doesn’t change anything, but it can fetch information by itself, cross-check sources and come back with a lead.

An example, the most twisted bug I’ve seen this year.

We run pgbouncer in front of our Postgres databases. Every now and then, a pgbouncer pod can no longer resolve the name of its database, and it never recovers. Its twin is perfectly fine. It happened six times in fifteen days, on different clusters and different nodes. And no metric could tell a stuck pod apart from an idle one.

I looked at DNS, at Calico, at the nodes, and found nothing.

The AI found it. It looked like a DNS problem, but it was a network problem. DNS runs over UDP, and something was losing the replies along the way.

pgbouncer sends its DNS queries from a randomly picked port, and keeps that port for as long as the process runs. Sometimes, the random pick lands on 51820, which is the WireGuard port. And since version 3.32, Calico drops all UDP traffic arriving on that port, even when WireGuard is disabled. The queries go out, the replies come back, and Calico drops them before they reach the pod.

It happens roughly once in 28,000, and when it does, the pod stays stuck until someone restarts it.

Honestly, looking at a DNS failure, I would never have thought of the port of a WireGuard we don’t even use. You had to cross-check the pgbouncer code, how the kernel works and the Calico eBPF code.

The bug was already fixed upstream. While waiting for the new release, we changed the WireGuard port. One line of config, in production the same day.

If the AI found it, it’s mostly because it had access to the logs, the cluster and the source code of the tools. Without that, it would have guessed, and it would probably have been wrong. And the better your logs, your metrics and above all your traces, the faster the AI finds the cause of a problem. One more reason to take care of your observability.

I debug much faster than before, but I’ve lost something along the way. Before, when production went down, I had the adrenaline of debugging, and real satisfaction when I finally found the cause. Since I started debugging with AI, I barely feel that anymore.

And it makes me wonder. I learned a huge amount from production incidents. A cause you spent hours tracking down, you never forget, and that’s what trained me the most. Now that the cause is found much faster, I’m afraid I’ll remember less of it.

“OOM, it’s the infra”

On the other hand, an AI that doesn’t go and fetch the infra context gets things wrong easily.

One day, a dev has a CI job that crashes because it runs out of memory. They ask their AI.

Their AI looks at the code and the job log, and stops there. It reacts like a lot of devs would, it says it’s the infra and that the limit needs to be raised. And we get a request.

Except it had nothing to do with the infra. A test was serializing a mock that kept growing until it filled the memory. With 10 times more RAM, it would have crashed just the same.

Yet their AI had access to the metrics, it just didn’t go and look.

So we wrote skills, instructions that the dev’s AI loads by itself when they’re relevant. For a crashing CI job, it fetches the job log, the machine’s metrics, the merge request diff and the failure history. And we told it never to conclude “raise the limit” without proof, and to look for every possible cause instead of stopping at the first one.

The dev has nothing to provide, the AI fetches the infra context by itself.

I started coding

I didn’t see it coming, but I code a lot more.

Nothing crazy. Before, when an open source tool had a bug, I worked around it and moved on. Today I can read the code, understand it and propose a fix.

For example, cert-manager generated invalid routes when you wanted a certificate for an IP address with the Gateway API. I sent the fix, it was merged and it shipped in the next release.

It’s even more true internally. Before, when I saw something to improve in a shared library used by every service, I went to the platform team and asked them to change it. I explained the need, then waited for it to fit into their schedule.

Today I open the merge request myself, whether it’s for tuning, a timeout or a missing metric. I’m the one who sees the problem in production, so it makes sense that I’m the one who fixes it. The platform team reviews and approves.

Same for small CLIs and tools I would never have taken the time to write before, like a VPN plugin for NetworkManager or a GeoIP database generator.

Before, when I found a problem, I reported it. Now, I fix it.

More topics, done better

I handle many more topics in parallel than before, thanks to AI and above all to agents, which move a task forward while I take care of another one. Today, it has become mandatory if you want to stay competitive.

But I also do things more cleanly. Before, we often said “no time” for documentation, tests, a proper alert or cleaning up an old config. Now we do them.

Those who switch their brain off

There’s still one thing that bothers me more and more.

Some people let the AI do all the thinking for them.

I get way too many AI-generated messages. You spot them right away, they’re long, polite, full of bullet points, and impossible to understand. I read them three times and I still don’t know what the question is.

Most of the time, the person doesn’t really know the subject. They ask the AI the wrong question, and the AI answers nonsense. In the end, I’m the one who has to guess what the person meant and ask them more questions to get back to the real problem. We both waste time. I’d a thousand times rather get two badly written sentences, as long as the person wrote them.

It gets worse. Sometimes, someone from another team comes to me and says “the problem is X”. I can see it’s not X, and I explain why. But I don’t know their project well enough to tell them what it really is.

And that’s where the AI’s confidence becomes a problem. It always answers with total confidence, and that convinces people more easily than I do. Maybe it’s my ego talking, but I find it frustrating.

What about our data?

Another topic that bugs me is everything we send to these AIs.

When I debug with an AI, I send it logs, configs, and even the whole codebase. All of it goes to a provider, most often an American one. And I’m the first one to do it.

That data doesn’t always stay with the provider, either. A study by IMDEA Networks analyzed nine consumer AI assistants. All of them embed at least one advertising tracker, and on the web, six out of nine send conversation titles, prompts or screenshots to third parties.

Companies love these providers. It’s simple, it works well, everyone uses them. But I feel like we look far too little at open source models, which we could run on our own infrastructure, or use as SaaS from a French or European host like Scaleway.

It’s true that it’s harder to set up, and above all it takes more time. But by sending everything to the same players, we lose a lot of control, over our data as well as our tools. The day prices or terms change, we won’t really have a choice.

And that day is likely to come, because AI companies are far from profitable today. If the bubble bursts, or simply when they have to start making money, prices will very likely go up.

What about juniors?

It’s a question I can’t answer.

As I said about incidents, I learned the hard way, reading docs for hours and breaking things. That’s what lets me see today when the AI is wrong.

Will someone who’s starting out and never opens the docs learn as much? I don’t know.

What I’m sure of is that we need a lot more training on this. Using AI well is something you learn. You have to keep a critical mind, give it as much context as possible, know how to steer it back when it heads in the wrong direction, and know its biases, like its tendency to go along with whatever you tell it or to sound sure of itself even when it’s wrong.

For now, my advice would be to use AI as a kind of mentor, by asking it to explain what it does and why, and above all by checking what it tells you. The day it’s wrong (and it happens), that’s what will let you notice.

Conclusion

AI didn’t replace my job, it changed it. I spend much less time in the docs, I debug faster, and I do things more cleanly. In exchange, I’ve lost the adrenaline of debugging, and maybe part of what incidents used to teach me.

But it only works if you understand what you’re doing. AI is useful when you give it context and know how to judge its answers, and that has to be learned. When you let it think for you, it wastes everyone’s time, and if nobody is there to stop it, you’re heading for disaster.

And you have to keep an eye on what you send it and on who you depend on. Today everything is simple and cheap, but it probably won’t last.

In the end, I spend more time on the part of my job that has always interested me the most, understanding how systems work.