Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Add pod subnet to non masquerade #1142

Closed
wants to merge 1 commit into from
Closed

Conversation

sylr
Copy link
Contributor

@sylr sylr commented Jul 31, 2017

What this PR does / why we need it:

If this option is not provided the default used by kubelet is 10.0.0.0/8 (according to #425 (comment)).

In a Custom VNet context (VNet space which is not 10.0.0.8), we want to set this value to the subnet of the pods (kubeClusterCidr) otherwise Kubernetes will think that all traffic directed towards 10.0.0.0/8 from the pods is intended to stay within Kubernetes.

By setting the correct subnet all traffic which is outside kubeClusterCidr will be "masqueraded" and will be able to exit kubernetes and reach the intended resources in the Custom VNet.

Which issue this PR fixes: fixes #425

Special notes for your reviewer:

Release note:


This change is Reviewable

@msftclas
Copy link

@sylr,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.

It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@acs-bot
Copy link

acs-bot commented Jul 31, 2017

Can one of the admins verify this patch? Say "@acs-bot test this please" to start tests.

@sylr sylr mentioned this pull request Aug 1, 2017
@msftclas
Copy link

msftclas commented Aug 1, 2017

@sylr, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.

Thanks, Microsoft Pull Request Bot

Signed-off-by: Sylvain Rabot <[email protected]>
@mrosterm
Copy link

What is the status on this one?

@bigmyx
Copy link

bigmyx commented Oct 6, 2017

I am also having the same issue, would appreciate an update!

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

Successfully merging this pull request may close these issues.

How to set up Container to Internal (Peered) Network
6 participants