Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Look at implementing static routes for service and cluster IPs #145

Open
viglesiasce opened this issue Oct 21, 2016 · 3 comments
Open

Look at implementing static routes for service and cluster IPs #145

viglesiasce opened this issue Oct 21, 2016 · 3 comments
Assignees

Comments

@viglesiasce
Copy link

Currently you are limited to only accessing NodePort services. If kube-solo implemented static routing rules at the OSX layer for both the service IP range and pod IP range this would no longer be the case. As an extension to that you could also implement DNS redirects for cluster.local domains that allowed users to resolve those from the kube-dns pod.

@rimusz
Copy link
Member

rimusz commented Oct 24, 2016

added @viglesiasce comments from k8s helm channel:

in order to work around that could you implement a static route at the OS level to point the service IPs to the vm ip?
route -n add 10.212.0.0/24 192.168.64.3
where service ip range is 10.212.0.0/24 
could also be done for pod ips

@rimusz
Copy link
Member

rimusz commented Oct 24, 2016

@AntonioMeireles ^^^

@rimusz
Copy link
Member

rimusz commented Oct 24, 2016

we are already looking to it. this one is blocked by getting host networking vodooo more resilient (all working when vpn tunnels in use). ideal solution would be to consume docker’s vpnkit - mess is that it isn’t clear that it would be multiVM out of the box (as we are a bit more evolved than them)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants