Question

How to connect pods network from DO k8s with another private network?

Facts:

  • we have k8s DO managed cluster up&running
  • pods have routes to resources inside DO private network
  • we also have private network 192.168.64.0/22
  • server 192.168.64.1 acting as router
  • that router machine also have IP address from DO private network
  • router machine is reachable from k8s pod network

Challenge: I want to route traffic to 192.168.64.0/22 via 192.168.64.1 from k8s cluster.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there!

You should be able to connect with external droplets via their private IP through a pod in DOKS as long as the external droplet is in the same region as the DOKS cluster. Feel free to open a support case if you would like for support to help you more in depth on your specific requirements.

Let me know if you have any additional questions.

Regards,

John Kwiatkoski Senior Developer Support Engineer