I have two managed kubernets clusters that use the newly introduced [DigitalOcean routing agent](How to Use the Routing Agent in Kubernetes Clusters | DigitalOcean Documentation).
One of the cluster is using version 1.32.2-do.0 and setting up the routing agent with nginx ingress controller was no hassle, just followed the documentation.
My second cluster is using the current latest version 1.33.1-do.1 and the routing agent seems to cause issues when responding to traffic through the nginx ingress controller. Specifically the requests always time out with an error of 522. Is this a known issue or am I just doing something wrong? I’d be happy to share some details if neccesary, thanks.
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!
Hey Alexander,
If things worked fine on 1.32.2-do.0 but are timing out with a 522 on 1.33.1-do.1, that’s definitely strange.
A couple of things you can check:
The 522 timeout usually points to an upstream connectivity issue. Since you’re using the routing agent and nginx ingress, double check if nginx is trying to hit an internal service IP that’s now being routed differently in 1.33.
Also worth confirming if the pod or service that nginx is routing to is actually up and reachable, maybe use kubectl exec
or curl
from within the cluster to trace the route manually.
The routing agent does override default routes and adds its own custom table (eth0table
) which could change how traffic flows. If you’re using custom route CRDs, you may want to confirm they’re applying properly, especially with multiple gateways or node selectors in play.
If this still is not working, I’d suggest reaching out to DigitalOcean support directly with the cluster ID and some basic logs (kubectl describe
, events
, nginx logs etc.). That’ll help them trace it down quicker.
- Bobby
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.