-
Notifications
You must be signed in to change notification settings - Fork 453
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
Makes extensions health checks use a Lease
resource
#6626
Makes extensions health checks use a Lease
resource
#6626
Conversation
Skipping CI for Draft Pull Request. |
Lease
resource
I feel that having a dedicated |
Yep sure, just wondering how would the new |
WDYM? Can't extensions controller also register such controller? |
I was mostly concerned about what resource would be reconciled - the |
I'm confused, maybe I miss something or don't have the full picture. |
@rfranzke gave the idea to use something similar to https://github.com/gardener/gardener/blob/master/pkg/resourcemanager/controller/garbagecollector/add.go#L75-L81 to initiate the reconciliations for the new controller that would be responsible for the new heartbeat |
b55fa15
to
6ecf503
Compare
Lease
resourceLease
resource
Lease
resourceLease
resource
Lease
resourceLease
resource
I've skipped this part and instead went did what I had the impression was discussed in the issue - |
/assign |
/assign |
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.
Nice PR, well structured!
test/integration/extensions/controller/heartbeat/heartbeat_suite_test.go
Outdated
Show resolved
Hide resolved
charts/gardener/gardenlet/charts/runtime/templates/clusterrole-gardenlet.yaml
Show resolved
Hide resolved
41b23ea
to
e255c84
Compare
e255c84
to
420940b
Compare
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.
Joint review together with @ialidzhikov
charts/gardener/gardenlet/charts/runtime/templates/clusterrole-gardenlet.yaml
Show resolved
Hide resolved
420940b
to
bc58ef1
Compare
Thanks for the review. I've addressed the comments and also added proper default and validation for 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.
Nice @plkokanov, let's continue now :)
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rfranzke 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 |
@plkokanov: The following test failed, say
Full PR test history. Your PR dashboard. Command help for this repository. 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/test-infra repository. I understand the commands that are listed here. |
How to categorize this PR?
/area quality
/kind enhancement
What this PR does / why we need it:
status.conditions[].lastUpdateTime
on each reconciliation.Which issue(s) this PR fixes:
Fixes #4798
Special notes for your reviewer:
Release note: