Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use hostNetwork for vpcrouter #172

Merged
merged 1 commit into from
Aug 18, 2017
Merged

Conversation

cgilmour
Copy link
Collaborator

The vpcrouter tool uses the AWS API endpoints to make changes to the routing tables within a VPC.
To look up the API endpoint, it needs DNS.

However, kube-dns runs as a service, and some of the the pods providing that service might be running in a different region before vpcrouter has created the routes to access pods there.

It isn't immediately noticeable in some installs, because the first instance of kube-dns runs on a directly-reachable master node.

It becomes a problem when kube-dns is scaled up to more pods - some reachable, some not.

This PR changes the vpcrouter pod to use hostNetwork: true to ensure it is always able to look up the AWS API endpoint addresses and bring the pod network into a fully routed state.

@cgilmour cgilmour merged commit 4df698c into romana-2.0 Aug 18, 2017
@cgilmour cgilmour deleted the hostnetworking-for-vpcrouter branch September 4, 2017 04:22
cgilmour added a commit that referenced this pull request Dec 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants