-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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
When using custom network with IP-alias, use the former's subnet for the latter too #62172
When using custom network with IP-alias, use the former's subnet for the latter too #62172
Conversation
/cc @wojtek-t |
Added the priority labels as this is causing failures of our 100-node presubmit (though non-blocking) job. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: shyamjvs, wojtek-t The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Automatic merge from submit-queue (batch tested with PRs 62162, 60628, 62172). If you want to cherry-pick this change to another branch, please follow the instructions here. |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix IP-alias subnet creation logic Follows #62172 This fixes the failures happening when using ip-alias with custom network. The subnet name shouldn't be checked against the default value during creation, but just created if not present (as it's name can be different than default based on the value of `KUBE_GCE_IP_ALIAS_SUBNETWORK`). /cc @wojtek-t ```release-note NONE ```
Ref #62267 |
#62193-#62398-upstream-release-1.10 Automatic merge from submit-queue. Automated cherry pick of #62172: When using custom network with IP-alias, use the former's #62193: Fix IP-alias subnet creation logic #62398: Fix subnet cleanup logic when using IP-aliases with custom Cherry pick of #62172 #62193 #62398 on release-1.10. #62172: When using custom network with IP-alias, use the former's #62193: Fix IP-alias subnet creation logic #62398: Fix subnet cleanup logic when using IP-aliases with custom ```release-note NONE ```
#62193-#62398-upstream-release-1.9 Automatic merge from submit-queue. Automated cherry pick of #62172: When using custom network with IP-alias, use the former's #62193: Fix IP-alias subnet creation logic #62398: Fix subnet cleanup logic when using IP-aliases with custom Cherry pick of #62172 #62193 #62398 on release-1.9. #62172: When using custom network with IP-alias, use the former's #62193: Fix IP-alias subnet creation logic #62398: Fix subnet cleanup logic when using IP-aliases with custom ```release-note Bugfixes allowing use of IP-aliases with custom-mode network in GCE setup scripts. ```
#62193-#62398-upstream-release-1.8 Automatic merge from submit-queue. Automated cherry pick of #62172: When using custom network with IP-alias, use the former's #62193: Fix IP-alias subnet creation logic #62398: Fix subnet cleanup logic when using IP-aliases with custom Cherry pick of #62172 #62193 #62398 on release-1.8. #62172: When using custom network with IP-alias, use the former's #62193: Fix IP-alias subnet creation logic #62398: Fix subnet cleanup logic when using IP-aliases with custom ```release-note Add support in GCE setup scripts to create cluster with custom network. Also bug-fixes to allow using custom network with IP-aliases. ```
Currently, when we're using custom subnet and ip-alias simultaneously, the cluster fails to come up.
The reason is because we're creating a subnet in the former with one name, but expecting a differently named subnet for the latter.
This is causing continuous failures in our 100-node job where I recently turned both of them on.
cc @kubernetes/sig-network-bugs