-
Notifications
You must be signed in to change notification settings - Fork 3.4k
daemon: conditionally disable headless service watch #40844
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
daemon: conditionally disable headless service watch #40844
Conversation
/test |
4ee8020
to
4f501f1
Compare
/test |
4f501f1
to
f55c550
Compare
f55c550
to
004a38b
Compare
/test |
004a38b
to
d8b4063
Compare
/test |
/ci-clustermesh |
This PR contains one of solutions discussed in: #40763, I am happy to discuss alternative approaches |
cc @youngnick |
/ci-clustermesh |
/ci-e2e-upgrade |
/ci-ginkgo |
Head branch was pushed to by a user without write access
26a9de8
to
50e3432
Compare
/test |
/ci-gateway-api |
/ci-e2e-upgrade |
cc @cilium/envoy for review, I think Jarno is OOO |
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.
Thanks ✅
Previously, daemon watched headless services and headless services endpoint slices uncodnitially. This meant that even if features relying on headless services watch such as Gateway API and Ingress were not used the watch was created. This caused a increased load on apisever in clusters making use of headless services. This patch disables the headless service watch when feature relying on it (Gateway API, Ingress) are not enabled. Fixes: cilium#40763 Signed-off-by: Maciej Moscicki <mmoscicki@google.com>
Head branch was pushed to by a user without write access
50e3432
to
e425529
Compare
/test |
/ci-gateway-api |
Previously, daemon watched headless services and headless services endpoint slices uncodnitially. This meant that even if features relying on headless services watch such as Gateway API and Ingress were not used the watch was created. This caused a increased load on apisever in clusters making use of headless services.
This patch disables the headless service watch when feature relying on it (Gateway API, Ingress) are not enabled.
Tests for the change were copied from the version prior to #28440.
Fixes: #40763
Please ensure your pull request adheres to the following guidelines:
description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.
Fixes: <commit-id>
tag, thenplease add the commit author[s] as reviewer[s] to this issue.