-
Notifications
You must be signed in to change notification settings - Fork 40k
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
vSphere kube-up: Wait for cbr0 configuration to complete before setting up routes. #35232
vSphere kube-up: Wait for cbr0 configuration to complete before setting up routes. #35232
Conversation
Will be requesting for this to be cherry picked to release-1.4 as well |
cbd52c8
to
4ff1b89
Compare
@kubernetes/sig-network |
@eparis to clarify this does not change any of the networking code within kubernetes and only changes the kube-up.sh script for deploying on top of vSphere. |
Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion. cluster/vsphere/util.sh, line 331 at r1 (raw file):
We could identify the mask from network we setup in config-default.sh Comments from Reviewable |
@imkin This is quick and mainly a reliable way to insure that the cbr0 interface has been configured correctly before setting up the routes based on the information read from cbr0. The limitation is that the the mask possible is limited to 255 IPs per node. Without this fix overall networking is broken. As discussed we can look at improvements, for now we need to make sure that this fix gets into 1.4.4 release. |
If the code will fail predictably lets document it clearly. both for the developer and the user. Please add comments to the config-default and config-common that sing \16 or higher prefixes are stable. Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion. Comments from Reviewable |
Will do. Adding documentation for the limitation. Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion. cluster/vsphere/util.sh, line 331 at r1 (raw file):
|
- fixes kubernetes#34248, kubernetes#31310 - Remove optimizations for salt status check till flakyness of install is addressed - fix indentation
4ff1b89
to
a71dc97
Compare
Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion. Comments from Reviewable |
Reviewed 1 of 1 files at r1, 1 of 1 files at r2. Comments from Reviewable |
Can this PR be automatically cherry picked to release-1.4 else I can file a new PR. |
it will not be automaticaly picked in any way. You will have to follow the cherry-pick process. See Also be sure the cc @ jessfraz on your pick After this merges. I'll also point out that it looks like you are just doing what the flannel host gateway does. Why not use that? A lot of other providers use flannel... |
@k8s-bot test this |
adding |
@eparis can you adjust the release note label? |
Automatic merge from submit-queue |
@eparis yup agreed. Right now the goal is to make sure that we get release branch fixed and then look into improving the kube-up deployment. There are a few other things we want to do with the kube-up script to reduce time taken to install in addition to looking into flannel. The bigger question is will kube-up be there in 1.5? We are also working on supporting vSphere within kube-anywhere. |
…-upstream-release-1.4 Automatic merge from submit-queue Wait for cbr0 configuration to complete before setting up routes. - f… Automated cherry pick of #35232 , this is needed for kube-up to work on vSphere, need this in the next 1.4 release. fixes #34248, #31310 - Remove optimizations for salt status check till flakyness of install is addressed - fix indentation
…-of-#35232-upstream-release-1.4 Automatic merge from submit-queue Wait for cbr0 configuration to complete before setting up routes. - f… Automated cherry pick of kubernetes#35232 , this is needed for kube-up to work on vSphere, need this in the next 1.4 release. fixes kubernetes#34248, kubernetes#31310 - Remove optimizations for salt status check till flakyness of install is addressed - fix indentation
What this PR does / why we need it:
Fixes routing setup when deploying via kube-up.sh on vSphere.
Remove optimizations for salt status check till flakyness of install with optimization
is addressed.
Which issue this PR fixes
fixes #34248, #31310
Special notes for your reviewer:
Ref PR with a similar fix #31672
This change is