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

CNS writes Cilium Conflist #1901

Merged
merged 4 commits into from
Apr 11, 2023
Merged

CNS writes Cilium Conflist #1901

merged 4 commits into from
Apr 11, 2023

Conversation

camrynl
Copy link
Contributor

@camrynl camrynl commented Apr 7, 2023

Reason for Change:

Today we use dropgz as an initcontainer to bring the cilium conflist to clusters. This PR allows for CNS to write the cilium conflist instead. Dropgz will still be required to install azure-ipam. This feature already exists for the overlay scenario, and it keeps nodes in NotReady state until the network is ready. Now, CNS can write the cilium conflist if we set in the cnsconfig: EnableCNIConflistGeneration as true, specify the conflist scenario to cilium, and set the conflist filepath.

Issue Fixed:

Requirements:

Notes:
Changes were validated in byocni overlay-cilium and byocni pod subnet cilium clusters. The azure-cns deployment was modified so that dropgz only installs azure-ipam, and CNS writes the cilium conflist to etc/cni/net.d.

@camrynl camrynl added the cns Related to CNS. label Apr 7, 2023
@camrynl camrynl requested a review from a team as a code owner April 7, 2023 21:05
@camrynl camrynl requested review from rsagasthya, tamilmani1989, thatmattlong and rbtr and removed request for a team April 7, 2023 21:05
rbtr
rbtr previously approved these changes Apr 7, 2023
@rbtr rbtr enabled auto-merge (squash) April 11, 2023 02:55
@rbtr rbtr merged commit e792ef5 into Azure:master Apr 11, 2023
@camrynl camrynl deleted the writeCiliumConflist branch April 11, 2023 16:39
thatmattlong pushed a commit that referenced this pull request May 4, 2023
* implement cilium conflist generator

* add cilium conflist for generator test

* update generator-windows

* cleaning up generator constants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cns Related to CNS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants