-
Notifications
You must be signed in to change notification settings - Fork 490
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
[scheduler] Introduce controller-runtime
manager and switch Shoot
controller
#4320
[scheduler] Introduce controller-runtime
manager and switch Shoot
controller
#4320
Conversation
@xrstf Thank you for your contribution. |
5fc4cc4
to
599e8cd
Compare
f674a65
to
7e28c65
Compare
7e28c65
to
a54adf3
Compare
/needs rebase |
@timebertt thanks a lot for your review. I addressed all your comments in the latest commit. Additionally, I added a health check which was missing before, so that the |
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.
Awesome, this looks great now! 🥳
Two easy-to-fix comments left ;)
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.
Very nice, thank you for continuing the PR and addressing all of my suggestions! :)
/lgtm
…r#4320) * use ctrlruntime Manager to manage shoot scheduler controller * remove dead code * make zap logger/logr code reusable * nicer error trace * deprecated SchedulerConfig.Server in favor of .HealthServer and .MetricsServer * PR feedback * remove metrics.go * revendor * PR feedback * fix PR feedback * update controlplane chart * introduce pkg/logger.Format constants * PR feedback * Add default log format for Gardenlet * Unify leader election options for GSched * Use predicates for GSched * Fix verify * Address review comments * Remove skip caller from logger Co-authored-by: Tim Usner <tim.usner@sap.com>
…r#4320) * use ctrlruntime Manager to manage shoot scheduler controller * remove dead code * make zap logger/logr code reusable * nicer error trace * deprecated SchedulerConfig.Server in favor of .HealthServer and .MetricsServer * PR feedback * remove metrics.go * revendor * PR feedback * fix PR feedback * update controlplane chart * introduce pkg/logger.Format constants * PR feedback * Add default log format for Gardenlet * Unify leader election options for GSched * Use predicates for GSched * Fix verify * Address review comments * Remove skip caller from logger Co-authored-by: Tim Usner <tim.usner@sap.com>
controller-runtime
manager in gardener-scheduler
and switch Shoot
controller
controller-runtime
manager in gardener-scheduler
and switch Shoot
controllercontroller-runtime
manager and switch Shoot
controller
How to categorize this PR?
/area dev-productivity
/kind technical-debt
What this PR does / why we need it:
This PR replaces the home grown controller management and leader election in the gardener-scheduler with the controller-runtime Manager and its cohorts.
Which issue(s) this PR fixes:
Parts of #4251
Parts of #4380
Special notes for your reviewer:
Release note: