Skip to content

Add PDBs to test pods #288

Open
Open

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementEnhancement, improvement, extensionlifecycle/rottenNobody worked on this for 12 months (final aging stage)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions