An AI Tool Moved 60 Ingress Rules to Higress in 30 Minutes
· Do Minh Tuan · Developer Corner 💻
The Cloud Native Computing Foundation has highlighted an AI-assisted migration that moved 60 ingress-nginx resources to Higress in roughly 30 minutes. The tool reads the old configuration, maps it to Higress, which is a gateway built on Envoy, and deploys the result.
If you have maintained ingress rules, that number will make you sit up. It will also make you suspicious, and the suspicion is healthy.
What the two things are
Ingress-nginx is the part of a Kubernetes cluster that takes traffic from the internet and sends it to the right service. It has been the default choice for years because it is stable and everyone knows it. You write routing rules as Kubernetes resources, and the controller turns them into an nginx configuration.
Higress is a newer gateway, built on Envoy. Envoy is a proxy designed for high-traffic service networking, and building on it gives Higress a different performance profile and a different set of features, including the faster, more dynamic routing that the write-up gives as the reason to move.
Moving from one to the other means translating routing rules, TLS settings, annotations and whatever custom behaviour has accumulated over the years. That translation is what the AI tool automates.
Why 30 minutes is believable, and why it is not the whole story
Translating a straightforward ingress resource is mechanical. A host, a path, a backend service, a port. A language model is good at that, and 60 of them is not a lot of work.
The part that takes days is everything that is not in the resource you can see. Let me list the things I would check before believing a migration is done.
Custom annotations. Ingress-nginx has a long list, and teams use them for rewrites, timeouts, body size limits, rate limiting and authentication. If the tool does not map an annotation, the rule may deploy cleanly and behave differently.
Snippets. Any team that has used nginx snippets has configuration that lives inside a string, and that configuration has no equivalent in Envoy. This is where an automated migration hits a wall, and it is common.
TLS and certificates. The certificate objects usually carry over, but the secret names, the issuer and the renewals need checking. A gateway that terminates TLS with the wrong certificate is a very visible outage.
Websockets and long-lived connections. Timeouts differ between proxies, and a chat feature that worked fine can start dropping connections after a short idle period.
DNS and cutover. Changing the load balancer address is the moment of truth. That is not a YAML problem.
None of this means the tool is bad. It means the 30 minutes covers the translation, and the migration is the translation plus the verification.
The canary advice is the useful part
The write-up recommends routing a small slice of live traffic to the new gateway before moving everything. That is correct, and it is the advice I would repeat loudest.
Even a perfect configuration translation can surprise you under real traffic. Header handling differs, client IP forwarding differs, and the behaviour of a 502 versus a 503 may not match what your monitoring expects. A canary gives you a small blast radius and a real signal.
I would go further than 1% for the first hour. Send one internal service, or one low-traffic hostname, and watch the error rate, the latency and the logs. Then move a real but non-critical customer. Only then move the main site, and do it on a Tuesday morning, not a Friday.
What I would push back on is the framing of a risk-free upgrade. Infrastructure migrations are never risk-free. They are risk-managed. The tools reduce the typing, and the typing was never the dangerous part.
The dangerous part is the assumption that the new gateway behaves like the old one. A migration tool that produces a valid configuration is doing half the job. The other half is a test plan, a rollback path and someone watching dashboards.
I would also want to know what the tool does with the parts it cannot translate. Does it fail loudly, skip them silently, or invent something plausible? Silent skips are the worst outcome, because the deployment looks successful and the behaviour changes a week later when a specific route is hit.
That is the one question I would ask before running this on anything that matters. Show me the report of what you could not map.
If I had a cluster with 60 ingress resources and a reason to move, I would use a tool like this for the first pass. It saves a day of copying YAML, and a day is a day.
Then I would treat the output as a draft. Diff it against the old configuration, route by route. Write down every annotation and decide where it went. Keep the old ingress controller running behind a DNS switch so rollback is a record change rather than a redeploy.
For the custom snippets, I would plan manual work. There is no automated path from an nginx snippet to an Envoy filter, and pretending otherwise is how you get a production incident with a very confusing timeline.
And I would not do it during a quiet period with no one around. A migration is exactly the moment you want the person who wrote the rules in the room, even if it is only for an hour.
What matters more than the speed is that infrastructure migrations, which used to be a specialist's week, are becoming a task an AI assistant can start. That will change how teams plan upgrades. The bottleneck moves from writing configuration to verifying behaviour, and verification is the part that still needs a person who understands the system.
I like the direction. I would just refuse to call any migration risk-free, 30 minutes or not. The YAML is the easy part, and it always was.
Written with AI assistance, reviewed and edited by Do Minh Tuan.