This repository has been archived by the owner on Apr 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Improve amount of controller reconciliations #138
Merged
rfranzke
merged 4 commits into
gardener-attic:master
from
timuthy:enhancement/cert-service-cluster-update
Jun 18, 2019
Merged
Improve amount of controller reconciliations #138
rfranzke
merged 4 commits into
gardener-attic:master
from
timuthy:enhancement/cert-service-cluster-update
Jun 18, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
timuthy
added
kind/enhancement
Enhancement, improvement, extension
priority/normal
Standard backlog priority, that can be worked on now or later
reviewed/do-not-merge
Has no approval for merging, may not be merged as it may break things or be of poor quality
size/m
A few days of work or medium change
topology/seed
Affects Seed clusters
labels
Jun 12, 2019
gardener-robot-ci-1
added
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
needs/ok-to-test
Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Jun 12, 2019
timuthy
changed the title
Refine cluster watch predicates
[DON'T MERGE] Refine cluster watch predicates
Jun 12, 2019
zanetworker
reviewed
Jun 12, 2019
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.
Cool :)
timuthy
force-pushed
the
enhancement/cert-service-cluster-update
branch
from
June 13, 2019 11:16
23acbc5
to
64a32e6
Compare
timuthy
added
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
needs/ok-to-test
Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Jun 13, 2019
gardener-robot-ci-1
added
needs/ok-to-test
Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Jun 13, 2019
timuthy
force-pushed
the
enhancement/cert-service-cluster-update
branch
from
June 13, 2019 13:21
f2f5e60
to
55e31c7
Compare
timuthy
changed the title
[DON'T MERGE] Refine cluster watch predicates
[DON'T MERGE] Improve amount of controller reconciliations
Jun 13, 2019
timuthy
added
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
needs/ok-to-test
Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Jun 13, 2019
gardener-robot-ci-1
added
needs/ok-to-test
Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Jun 13, 2019
timuthy
added
size/l
A few weeks of work or large change
and removed
size/m
A few days of work or medium change
labels
Jun 13, 2019
timuthy
force-pushed
the
enhancement/cert-service-cluster-update
branch
from
June 13, 2019 15:10
55e31c7
to
6b90f53
Compare
timuthy
added
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
needs/ok-to-test
Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Jun 13, 2019
timuthy
force-pushed
the
enhancement/cert-service-cluster-update
branch
from
June 14, 2019 07:58
6b90f53
to
811a908
Compare
gardener-robot-ci-1
added
needs/ok-to-test
Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Jun 14, 2019
timuthy
added
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
needs/ok-to-test
Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Jun 14, 2019
timuthy
changed the title
[DON'T MERGE] Improve amount of controller reconciliations
Improve amount of controller reconciliations
Jun 14, 2019
timuthy
removed
the
reviewed/do-not-merge
Has no approval for merging, may not be merged as it may break things or be of poor quality
label
Jun 14, 2019
rfranzke
previously approved these changes
Jun 18, 2019
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
timuthy
force-pushed
the
enhancement/cert-service-cluster-update
branch
from
June 18, 2019 10:37
811a908
to
fc4773e
Compare
timuthy
added
needs/ok-to-test
Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
needs/ok-to-test
Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Jun 18, 2019
gardener-robot-ci-1
added
needs/ok-to-test
Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
and removed
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
labels
Jun 18, 2019
If a resource is watched and mapped to another resource, an update event is sent twice to the respective map function. This causes also a second reconciliation which should be avoided. Co-authored-by: Axel Christ <axel.christ@sap.com>
timuthy
force-pushed
the
enhancement/cert-service-cluster-update
branch
from
June 18, 2019 11:07
fc4773e
to
bcdbf1f
Compare
rfranzke
added
the
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
label
Jun 18, 2019
rfranzke
approved these changes
Jun 18, 2019
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
gardener-robot-ci-1
removed
the
reviewed/ok-to-test
Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
label
Jun 18, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
kind/enhancement
Enhancement, improvement, extension
needs/ok-to-test
Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
priority/normal
Standard backlog priority, that can be worked on now or later
size/l
A few weeks of work or large change
topology/seed
Affects Seed clusters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
This PR generally reworks predicates and event mappers of controllers to improve the amount of reconciliations to its required minimum.
This includes the following:
Add predicates to controllers which watch
cluster
resources. These predicates check aGeneration
change inside the cluster resource, especially of theshoot
, rather than aGeneration
change of the cluster resource itself. TheGeneration
of acluster
can change frequently and thus triggered an unnecessary amount of reconciliations.If a resource is watched and mapped to another resource (e.g.
Cluster
->Infrastructure
), an update event is sent twice to the respective map function. This causes also a second reconciliation which should be avoided.Special notes for your reviewer:
Additional changes in this PR:
OSC
controllers have been updated, aligned.Certificate-Service
have been refactored.sha
versions for Gardener-Extension Docker images.Release note: