-
Notifications
You must be signed in to change notification settings - Fork 260
Making consolidated 'overlay' option to cns ipam mode #1977
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
Conversation
887376e to
89aa367
Compare
1aadc13 to
16e537c
Compare
… needed to add overlay as well there
paulyufan2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
| CNI_OVERLAY_BUILD_DIR = $(BUILD_DIR)/cni-overlay | ||
| CNI_BAREMETAL_BUILD_DIR = $(BUILD_DIR)/cni-baremetal | ||
| CNI_DUALSTACK_BUILD_DIR = $(BUILD_DIR)/cni-dualstack | ||
| CNI_OVERLAY_CONSOLIDATED_BUILD_DIR = $(BUILD_DIR)/cni-overlay-consolidated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am opposed to adding a new build artifact like this, as we will then need to migrate off of it in the future and back to the bare "overlay" artifact.
Can we not simply consolidate on to "cni-overlay" immediately?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that is a good point, one concern was backwards compatibility, to still have 'v4overlay' and 'dualstack' be valid options until we know 'overlay' works properly in AKS
So being able to roll back and still support 'dualstack' and 'v4overlay' was the major concern
Edit: Another reason was, to have some overlap in time, where CNS suports any overlay option, while we migrate off of 'v4overlay' and 'dualstackoverlay' in AKS
@ashvindeodhar wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thatmattlong what do you think as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rbtr what do you think, about having that overlap period in AKS (where all three options are viable)?
It maybe simpler to consolidate immediately, we would just need to keep these changes right in sync with AKS-RP changes and a new CNS version, might miss something
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was specifically referring to the tgz build artifacts, but looking further I think maybe too many things are changing in this single PR (or they should be reordered).
Should the changes actually be:
- release CNI that supports the consolidated
"executionMode":"swift"and ipam modeoverlay- this should be end-to-end and should collapse v4/dualstack overlay in to the single
cni-overlaybuild artifact
- this should be end-to-end and should collapse v4/dualstack overlay in to the single
- release dropgz with ^
- release CNS that supports the consolidated
overlayconflist generation - migrate AKS to consolidate
overlayconfig argument everywhere - deprecate and remove v4overlay/dualstack overlay everywhere
vs the updates you have proposed, this way we should never need to update anything to an intermediate "overlay-consolidated" that we later need to change back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I didn't know about "executionMode": "swift" conslidation, is there someone working on that currently?
release dropgz with ^
After releasing dropgz, would we update AKS-RP anywhere?
One change we would need to do for sure, is make dualstack overlay point to overlay conflist
release CNS that supports the consolidated overlay conflist generation
Would dualstack and v4overlay conflist generation be gone at this point completely? Or there, and not used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We update azure-cni binary and conflist at once, by virtue of tarball
> Check this new binary and conflist don't break V4
> Maybe add pipeline step for overlay cni
> what aks checks are there?
> Still would release dualstack version for backcompat
Relesae dropgz with ^
Rollout this everywhere, ~4 weeks (CNI is everywhere, and supports 'overlay' mode)
> Can make this faster by cutting new Agent baker image for dropgz right after tarball is release in our repo
Add a third 'overlay' generator, until cns image is rolled out (4 weeks)
Change the configmap, to use 'overlay'
Remove 'dualstack' and 'v4overlay' in CNS and CNI
Unknowns:
executionMode v4swift, what is it? Do we need it in v4overlay?
|
We're going to follow this strategy now to update to overlay |
This is to make a third, consolidated, 'overlay' cns ipam mode
Once this is merged, we will do the following to safely migrate towards this option:
See our teams channel chat about this: