-
Notifications
You must be signed in to change notification settings - Fork 451
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
Shoot conditions lastUpdateTime
is no longer updated continuously
#2888
Shoot conditions lastUpdateTime
is no longer updated continuously
#2888
Conversation
/assign @amshuman-kr @shreyas-s-rao @vlerenc |
Thanks @rfranzke. When we merge it/deploy it to dev, we should check whether it indeed behaves as expected and the no longer updated WDYT if we no longer update |
/invite @grolu @petersutter @wyb1 @mliepold |
we have no logic that depends on This would be the only effect in case it is not set (Last Updated will show nothing), however we have a PR ready to remove this field gardener/dashboard#810 |
Btw there is already a condition builder which checks if condition really needs to be updated e.g. gardener/pkg/gardenlet/controller/seed/seed_lease_control.go Lines 101 to 120 in 2fb3b07
|
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.
I am not aware of all the details of how these conditions and constraints are used. But looks good in principle :-)
Yes, I know, actually I started using it, but then I faced that the |
6699e00
da442ab
to
6699e00
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.
/lgtm
6699e00
to
d21c538
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.
/lgtm
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.
/lgtm
How to categorize this PR?
/area scalability robustness
/kind enhancement
/priority normal
What this PR does / why we need it:
The shoot's
.status.conditions[].lastUpdateTime
is no longer continuously updated to prevent spamming etcd with too many unnecessary updates.Special notes for your reviewer:
If the gardenlet does not renew its lease anymore then the GCM will, after a certain threshold, set the shoot conditions to
Unknown
to indicate that the displayed information is most likely outdated.Release note: