-
Notifications
You must be signed in to change notification settings - Fork 493
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
POC: Refactoring - moving seed determiner logic into dedicated struct #9843
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @tobiscr! |
Hi @tobiscr. Thanks for your PR. I'm waiting for a gardener member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
After a call with @ScheererJ we agreed on following options for the seed determining logic:
@ScheererJ is getting in contact with a team colleague to discuss these options and will reply in the coming 1-2 weeks with a suggestion how to proceed. |
After offline discussion, option 1 seems to be a simple and acceptable solution. Please adapt the pull request accordingly. Please note that a general option to enforce same region seed clusters in scheduling may be something for a future gardener hackathon. Let me know if you would like to join :-) . |
/assign |
The Gardener project currently lacks enough active contributors to adequately respond to all PRs.
You can:
/lifecycle stale |
The Gardener project currently lacks enough active contributors to adequately respond to all PRs.
You can:
/lifecycle rotten |
PR needs rebase. 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. |
The Gardener project currently lacks enough active contributors to adequately respond to all PRs.
You can:
/close |
@gardener-ci-robot: Closed this PR. 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. |
How to categorize this PR?
/area control-plane
What this PR does / why we need it:
We have a feature-request on Kyma side to offer customers an option to enforce that a seed and shoot are running in the same region. Our goal is to validate whether a seed would be available in a region before creating a shoot. This saves processing time on Gardener side and allows short roundtrip-times on our side in case of non-matching seed clusters.
This PR is a pure refactoring of the Gardener reconciler which is moving logic related to determine the seed into a separate struct. No functional changes were applied, just code re-arrangements. The introduced
SeedDeterminer
is also visible outside of thsshoot
-package which would allow us to reuse the logic in our application.The change improves also a bit the separation of concerns within the logic. The reconciler is purely responsible for reconciliations, the seed-determiner does nothing beside determining the seed cluster.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Release note: