Hello, We have a Kubernetes cluster running on DigitalOcean, and we were wondering if it is possible to configure a single static IP address for all outbound (egress) traffic originating from the cluster. Specifically, we would like all outgoing traffic from pods and services to appear as coming from one fixed public IP address. Could you please let us know: If this is supported on DigitalOcean Kubernetes (DOKS) What the recommended approach would be (e.g., NAT Gateway, Load Balancer, or another solution) Any limitations or considerations we should be aware of Thank you for your help
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!
Hi there,
I think that the new routing agent should work for you.
Check out the docs here:
https://docs.digitalocean.com/products/kubernetes/how-to/use-routing-agent/
The routing agent lets you override the default route without impacting the overall cluster connectivity. You can use this feature with a NAT gateway to make the outgoing traffic from the Kubernetes cluster originate from one static egress IP address.
Hope that this helps!
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.