Question

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

Posted October 11, 2019 750 views
DigitalOcean Managed Kubernetes

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.

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.

×
1 answer

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

Submit an Answer