-
Notifications
You must be signed in to change notification settings - Fork 1.4k
🌱 Cache DiscoveryVariables calls #11592
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
🌱 Cache DiscoveryVariables calls #11592
Conversation
/test |
@fabriziopandini: The
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/test pull-cluster-api-e2e-main |
3484831
to
e9c66b7
Compare
/test pull-cluster-api-e2e-main |
@chrischdi @fabriziopandini Should be ready for another round of review /hold |
/cherry-pick release-1.8 |
@sbueringer: once the present PR merges, I will cherry-pick it on top of In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
e9c66b7
to
ddc14a2
Compare
/test pull-cluster-api-e2e-main |
/cherry-pick release-1.9 |
@sbueringer: once the present PR merges, I will cherry-pick it on top of In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/retest KCP adoption flake |
@sbueringer thanks for the commit on this PR, looks great! |
/lgtm |
LGTM label has been added. Git tree hash: 33847b7c6ccd6b35d06d140c760db41a07b97ee1
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrischdi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I don't see how this failure could be related: https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/kubernetes-sigs_cluster-api/11592/pull-cluster-api-e2e-main/1869761529562271744 How stable are the e2e tests at the moment? /retest |
@sbueringer: #11592 failed to apply on top of branch "release-1.8":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@sbueringer: new pull request created: #11599 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What this PR does / why we need it:
DiscoveryVariables is expected to return a "static" response + usually there are few extensions in a cluster, however today we keep calling DiscoveryVariables at every CC reconcile, and this could become very noisy if you have many CC.
This PR introduces a cache that prevents those repeated calls, all getting the same answer, to happen.
/area runtime-sdk