Skip to content
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

Only patch shoot status label if necessary #4870

Merged
merged 1 commit into from Oct 18, 2021

Conversation

timebertt
Copy link
Member

@timebertt timebertt commented Oct 18, 2021

How to categorize this PR?

/area scalability cost
/kind enhancement

What this PR does / why we need it:

Only patch shoot status label if necessary (if it actually changed) in order to save network traffic.

Which issue(s) this PR fixes:
Part of #2414

Special notes for your reviewer:

We probably want to move the status label handling to gcm (see #4286 (comment)).
For now, this is not changed and the optimization is simply applied to the current mechanism in gardenlet.

Release note:

Gardenlet only patches the Shoot's status label if it actually changed to save network traffic.

@timebertt timebertt requested a review from a team as a code owner October 18, 2021 08:39
@gardener-robot gardener-robot added area/cost Cost related area/scalability Scalability related kind/enhancement Enhancement, improvement, extension needs/review size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 18, 2021
@timebertt
Copy link
Member Author

Would be nice to have this in v1.34.0 to see the effect in larger gardener landscapes soon. cc @plkokanov

Copy link
Member

@rfranzke rfranzke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@plkokanov
Copy link
Contributor

/milestone v1.34
/lgtm

@gardener-robot gardener-robot added this to the v1.34 milestone Oct 18, 2021
@timebertt timebertt merged commit 0d3b587 into gardener:master Oct 18, 2021
@timebertt timebertt deleted the enh/shoot-status-label branch October 18, 2021 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cost Cost related area/scalability Scalability related kind/enhancement Enhancement, improvement, extension size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants