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

Disable etcd backup compaction by default #5144

Merged
merged 2 commits into from
Dec 10, 2021

Conversation

timuthy
Copy link
Contributor

@timuthy timuthy commented Dec 9, 2021

How to categorize this PR?

/area control-plane
/kind enhancement

What this PR does / why we need it:
This PR disables the etcd backup compaction feature by default. It should consciously be enabled by operators because the feature comes with certain cost implications (e.g. network traffic) and requires machines with a rather large root disk.

Release note:

The etcd backup compaction feature has been disabled by default. It can by enabled anytime via the `etcdConfig` section in the Gardenlet-Componentconfig.

@timuthy timuthy requested a review from a team as a code owner December 9, 2021 12:29
@gardener-robot gardener-robot added area/control-plane Control plane related kind/enhancement Enhancement, improvement, extension needs/review size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 9, 2021
rfranzke
rfranzke previously approved these changes Dec 9, 2021
@rfranzke
Copy link
Member

@timuthy Can you please fix the failing tests?

@gardener-robot
Copy link

@dguendisch, @mvladev, @ialidzhikov, @plkokanov, @timuthy, @vpnachev, @schrodit, @danielfoehrKn, @BeckerMax, @timebertt, @hendrikKahl, @kris94, @voelzmo, @stoyanr This pullrequest was referenced by @rfranzke in duplicate pullrequest #5147.

rfranzke
rfranzke previously approved these changes Dec 10, 2021
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

Earlier, paramters in `etcdConfig` were hard coded and now the very same
values became the default. However, these defaults are only active if
we don't overwrite them via the values in the Helm chart.
@gardener-robot gardener-robot added needs/review size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed needs/review size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 10, 2021
@timuthy
Copy link
Contributor Author

timuthy commented Dec 10, 2021

Through #5147 another problem has drawn my attention: We set very low worker values in the Helm chart which become the "new" default when applying Gardenlet via this chart. For instance, if an operator applied Gardenlet earlier, the etcdController worker count was 50 (hard coded). With the Helm chart values, this count becomes only 3 if operators do not deliberately set another value. Hence, I added another commit 1b8f5c5.

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

@rfranzke rfranzke merged commit 82909a4 into gardener:master Dec 10, 2021
@timuthy timuthy deleted the enhancement.etcd-compaction branch December 10, 2021 10:42
krgostev pushed a commit to krgostev/gardener that referenced this pull request Apr 21, 2022
* Disable etcd backup compaction by default

* Disable etcdConfig in Gardenlet chart

Earlier, paramters in `etcdConfig` were hard coded and now the very same
values became the default. However, these defaults are only active if
we don't overwrite them via the values in the Helm chart.
krgostev pushed a commit to krgostev/gardener that referenced this pull request Jul 5, 2022
* Disable etcd backup compaction by default

* Disable etcdConfig in Gardenlet chart

Earlier, paramters in `etcdConfig` were hard coded and now the very same
values became the default. However, these defaults are only active if
we don't overwrite them via the values in the Helm chart.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Control plane related kind/enhancement Enhancement, improvement, extension size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants