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

Remove Kubernetes PodInfoProvider and default to CNI initialization #2087

Closed
wants to merge 4 commits into from

Conversation

rbtr
Copy link
Contributor

@rbtr rbtr commented Jul 27, 2023

Reason for Change:

Removes the (long deprecated) Kubernetes reconcile branch from the CNS PodInfo initialization flow. The default is now the CNI reconcile flow, with the preference to restore from CNS own managed endpoint state if that is enabled.

Slightly repackages these components to be clearer:
both are now in pkg podprovider instead of cnireconciler
CNI Pod info provider -> podprovider/cni
CNS endpoint state pod infor provider moved from cnireconciler -> podprovider/cns

Since CNI reconciliation is becoming the default, the version check can be dropped as there is no longer another option to fall back to. We simply attempt it, and verbosely error.

Issue Fixed:

Requirements:

Notes:
Because we don't always install the CNI with CNS yet, this is not safe to release until all AKS variants are using the CNI installer init container.

@rbtr rbtr added the cns Related to CNS. label Jul 27, 2023
@rbtr rbtr self-assigned this Jul 27, 2023
@thatmattlong
Copy link
Contributor

thatmattlong commented Jul 31, 2023

shall we wait to merge this until podsubnet CNI is installed with dropgz? my fear is that someone will forget that it's not ready to release until after that, and we'll break some clusters

edit: oh nvm this is a draft, my bad

@rbtr
Copy link
Contributor Author

rbtr commented Jul 31, 2023

@thatmattlong yep, that's why it's still a draft. that's mentioned in the description:notes

@rbtr
Copy link
Contributor Author

rbtr commented Jul 31, 2023

+do-no-merge +work-in-progress to be more clear that this shouldn't be merged until cni installer is default everywhere

@rbtr
Copy link
Contributor Author

rbtr commented Jul 31, 2023

depends on #2075

@rbtr
Copy link
Contributor Author

rbtr commented Jul 31, 2023

obsoletes/removes changes introduced in #2078

@rbtr rbtr force-pushed the remove-kubereconcile branch from 8da36a8 to 19d1bde Compare September 22, 2023 23:32
Copy link

This pull request is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Stale due to inactivity. label Nov 22, 2023
Copy link

github-actions bot commented Dec 7, 2023

Pull request closed due to inactivity.

@github-actions github-actions bot closed this Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cns Related to CNS. do-not-merge stale Stale due to inactivity. work-in-progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants