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

operator: introduce cec l7 envoy loadbalancing cell #28835

Merged

Conversation

mhofstetter
Copy link
Member

This commit moves the L7 loadbalancing registration from the legacyOnLeader cell into its own cell.

In addition, the corresponding config properties have been moved into its own config struct where possible.

@mhofstetter mhofstetter added kind/enhancement This would improve or streamline existing functionality. area/operator Impacts the cilium-operator component release-note/misc This PR makes changes that have no direct user impact. area/servicemesh GH issues or PRs regarding servicemesh area/modularization labels Oct 27, 2023
@mhofstetter
Copy link
Member Author

/test

@mhofstetter mhofstetter marked this pull request as ready for review October 27, 2023 14:42
@mhofstetter mhofstetter requested review from a team as code owners October 27, 2023 14:42
@@ -22,7 +21,7 @@ func StartCECController(ctx context.Context, clientset k8sClient.Clientset, serv
log.WithError(err).Fatal("Failed to retrieve service store")
}

m, err := ciliumenvoyconfig.New(ctx, clientset, store.CacheStore(), ports, defaultAlgorithm, idleTimeoutSeconds)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"as is" migration without optimizing this further. leaving this for a follow up PR. either by optimizing current approach or going with controller-runtime

Copy link
Member

@sayboras sayboras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's cellify the world. ✔️ 🐝

@mhofstetter
Copy link
Member Author

Let's cellify the world. ✔️ 🐝

😄 it's the last one for sig-servicemesh (withinlegacyOnLeader of the operator)

Copy link
Member

@pippolo84 pippolo84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Oct 29, 2023
@aanm
Copy link
Member

aanm commented Oct 30, 2023

All tests have passed except "netlify/docs-cilium-io/deploy-preview". I'm closing and opening the PR to trigger it and see if it passes since the current failure looks like it was a flake.

@aanm aanm closed this Oct 30, 2023
@aanm aanm reopened this Oct 30, 2023
@aanm
Copy link
Member

aanm commented Oct 30, 2023

@mhofstetter it looks that it didn't work, can you push force again? Thanks

@aanm aanm removed the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Oct 30, 2023
This commit moves the l7 loadbalancing registration from the
legacyOnLeader cell into its own cell.

In addition, the corresponding config properties have been moved
into its own config struct where possible.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
This commit removes the unused fields `maxRetries` & `idleTimeoutSeconds`
from the EnvoyConfigManager.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter force-pushed the pr/mhofstetter/operator-cec-cell branch from bbec898 to f3b4abf Compare October 30, 2023 08:48
@mhofstetter
Copy link
Member Author

mhofstetter commented Oct 30, 2023

rebased to main to re-trigger check netlify/docs-cilium-io/deploy-preview 🙏 -> ✔️

@mhofstetter
Copy link
Member Author

/test

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Oct 30, 2023
@dylandreimerink dylandreimerink merged commit 85e65de into cilium:main Oct 30, 2023
62 checks passed
@mhofstetter mhofstetter deleted the pr/mhofstetter/operator-cec-cell branch October 30, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/modularization area/operator Impacts the cilium-operator component area/servicemesh GH issues or PRs regarding servicemesh kind/enhancement This would improve or streamline existing functionality. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants