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

Add PDBs to test pods #288

Open
dguendisch opened this issue Jun 8, 2020 · 0 comments
Open

Add PDBs to test pods #288

dguendisch opened this issue Jun 8, 2020 · 0 comments
Labels
kind/enhancement Enhancement, improvement, extension lifecycle/rotten Nobody worked on this for 12 months (final aging stage)

Comments

@dguendisch
Copy link
Member

Currently our test pods get terminated when cluster nodes are rolling (i.e. due to OS updates).
However we'd prefer to let the tests pass and roll the node only after the last test pod terminated on its own.

Hence some kind of PDBs are needed for the test pods to let mcm drain the nodes by waiting for PDBs to be fulfilled. Unfortunately we cannot specify .spec.maxUnavailable as the testpods are not supervised by a deployment/replicaset/... (see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#arbitrary-controllers-and-selectors)
Hence we could only use .spec.minAvailable which is however pretty dynamic (as the number of currently active testpods changes all the time), so this would need to be applied continuously by some controller.

@dguendisch dguendisch added the kind/enhancement Enhancement, improvement, extension label Jun 8, 2020
@gardener-robot gardener-robot added the lifecycle/stale Nobody worked on this for 6 months (will further age) label Sep 19, 2020
@gardener-robot gardener-robot added lifecycle/rotten Nobody worked on this for 12 months (final aging stage) and removed lifecycle/stale Nobody worked on this for 6 months (will further age) labels Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Enhancement, improvement, extension lifecycle/rotten Nobody worked on this for 12 months (final aging stage)
Projects
None yet
Development

No branches or pull requests

2 participants