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

fix deletion handling for inconsistently/wrongly disappeared source object #177

Merged
merged 1 commit into from May 17, 2021

Conversation

MartinWeindel
Copy link
Member

What this PR does / why we need it:
On startup of the source controller, we saw inconsistent results from the client lister. A source object has disappeared from the list results, although it was not deleted and still existing. As a consequence the slave DNS entry was deleted and recreated some seconds later. But because of negative caching, secondary DNS server did not find the DNS record for a much longer time.

A bug was fixed with apimachinery v0.18.7 Kube-apiserver: fixed a bug returning inconsistent results from list requests which set a field or label selector and set a paging limit. As this component used version v0.18.6, this could be the root cause.
The K8s dependencies have been updated to v0.18.18.
Additionally we added some safeguard to the Deleted reconciliation of the source object.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

updated K8s dependencies to v0.18.18 to fix deletion handling for inconsistently/wrongly disappeared source object

@gardener-robot gardener-robot added needs/review Needs review size/s Size of pull request is small (see gardener-robot robot/bots/size.py) labels May 14, 2021
@gardener-robot-ci-2 gardener-robot-ci-2 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 May 14, 2021
@gardener-robot-ci-1 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 May 14, 2021
@mandelsoft mandelsoft merged commit ccdd5d6 into master May 17, 2021
@mandelsoft mandelsoft deleted the source-deleted-doublecheck branch May 17, 2021 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/review Needs review size/s Size of pull request is small (see gardener-robot robot/bots/size.py)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants