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

Adapt high-availability configuration of shoot system components #6989

Merged
merged 3 commits into from
Nov 15, 2022

Conversation

rfranzke
Copy link
Member

@rfranzke rfranzke commented Nov 10, 2022

How to categorize this PR?

/area high-availability
/kind enhancement

What this PR does / why we need it:
This PR adapts the HA configuration of the non-observability-related shoot system components.
Concretely, the components are labeled according to their type and custom replica/affinity changes have been dropped.
The webhook introduced with #6967 will take care to properly inject the required HA configuration.

Which issue(s) this PR fixes:
Part of #6529
Similar to #6982 and #6992

Special notes for your reviewer:
Depends on #6967 which needs to be merged first.

/cc @timuthy

Release note:

All non-observability-related shoot system components are now running with configuration for high-availability according to [the conventions](https://github.com/gardener/gardener/blob/master/docs/development/high-availability.md).

@gardener-prow
Copy link
Contributor

gardener-prow bot commented Nov 10, 2022

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@gardener-prow gardener-prow bot requested a review from timuthy November 10, 2022 09:49
@gardener-prow gardener-prow bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. area/high-availability High availability related kind/enhancement Enhancement, improvement, extension labels Nov 10, 2022
@gardener-prow gardener-prow bot added cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 10, 2022
@rfranzke rfranzke marked this pull request as ready for review November 10, 2022 15:54
@gardener-prow gardener-prow bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 10, 2022
@rfranzke
Copy link
Member Author

/test pull-gardener-integration

@timuthy
Copy link
Contributor

timuthy commented Nov 14, 2022

/assign

Copy link
Contributor

@timuthy timuthy left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve
/cc @acumino

@gardener-prow gardener-prow bot requested a review from acumino November 15, 2022 12:01
@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Nov 15, 2022
@gardener-prow
Copy link
Contributor

gardener-prow bot commented Nov 15, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: timuthy

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@gardener-prow gardener-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 15, 2022
@acumino
Copy link
Member

acumino commented Nov 15, 2022

/milestone v1.60

@gardener-prow gardener-prow bot added this to the v1.60 milestone Nov 15, 2022
@rfranzke
Copy link
Member Author

/test pull-gardener-integration

@gardener-prow gardener-prow bot merged commit e59c362 into gardener:master Nov 15, 2022
@rfranzke rfranzke deleted the enh/ha-adapt-shoot branch November 15, 2022 14:34
ScheererJ added a commit to ScheererJ/gardener that referenced this pull request Dec 1, 2022
…ility handling.

With PR gardener#6989 high-availability handling was introduced to coredns and other components.
While it works nicely with the default scenario with horizontal pod autoscaler, it fails
in combination with the cluster-proportional autoscaling approach. In the latter case
the autoscaler and the gardener-resource-manager race towards changing the replica count
of the coredns deployment. As a result, pods are created/terminated constantly.
With this change, the replica mutation of the high-availability handling is disabled in
case coredns uses the cluster-proportional autoscaling approach.
gardener-prow bot pushed a commit that referenced this pull request Dec 1, 2022
…ility handling. (#7129)

With PR #6989 high-availability handling was introduced to coredns and other components.
While it works nicely with the default scenario with horizontal pod autoscaler, it fails
in combination with the cluster-proportional autoscaling approach. In the latter case
the autoscaler and the gardener-resource-manager race towards changing the replica count
of the coredns deployment. As a result, pods are created/terminated constantly.
With this change, the replica mutation of the high-availability handling is disabled in
case coredns uses the cluster-proportional autoscaling approach.
gardener-ci-robot pushed a commit to gardener-ci-robot/gardener that referenced this pull request Dec 1, 2022
…ility handling.

With PR gardener#6989 high-availability handling was introduced to coredns and other components.
While it works nicely with the default scenario with horizontal pod autoscaler, it fails
in combination with the cluster-proportional autoscaling approach. In the latter case
the autoscaler and the gardener-resource-manager race towards changing the replica count
of the coredns deployment. As a result, pods are created/terminated constantly.
With this change, the replica mutation of the high-availability handling is disabled in
case coredns uses the cluster-proportional autoscaling approach.
gardener-prow bot pushed a commit that referenced this pull request Dec 1, 2022
…ility handling. (#7131)

With PR #6989 high-availability handling was introduced to coredns and other components.
While it works nicely with the default scenario with horizontal pod autoscaler, it fails
in combination with the cluster-proportional autoscaling approach. In the latter case
the autoscaler and the gardener-resource-manager race towards changing the replica count
of the coredns deployment. As a result, pods are created/terminated constantly.
With this change, the replica mutation of the high-availability handling is disabled in
case coredns uses the cluster-proportional autoscaling approach.

Co-authored-by: Johannes Scheerer <johannes.scheerer@sap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/high-availability High availability related cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. kind/enhancement Enhancement, improvement, extension lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants