Report this

What is the reason for this report?

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

Posted on October 11, 2019

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.



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!

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

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.