Report this

What is the reason for this report?

k8s static router operator not forwarding traffic to my NAT gateway

Posted on November 6, 2023

Hello folks, I followed the instructions for setting up a nat gateway and a backend droplet it works fine, i can see traffic outgoing from the nat, my problem was in managed kubernetes I used the static router operator and seems okay I saw the deamonsets running, i added a static route object with all Frankfurt CIDRs public ip, as my vpc is there with all resources. but the traffic is not forwarded to the nat gateway I followed this tutorial https://sam-thomas.medium.com/how-to-setup-static-outbound-ip-in-digitalocean-kubernetes-doks-5cfb65e69165

also https://github.com/digitalocean/container-blueprints/tree/main/DOKS-Egress-Gateway



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

Quick update here, DigitalOcean have just released a managed component for maintaining host routes in DOKS:

https://www.digitalocean.com/blog/introducing-doks-routing-agent

The new DOKS routing agent is a managed component for configuring static routes on Kubernetes worker nodes. It is a direct response to user feedback on its predecessor, the static route operator, and introduces new features to enhance routing flexibility. Despite being a managed component, the DOKS routing agent is included at no additional cost for users.

- Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.