Add optional PodDisruptionBudget for the runner manager Deployment

Why

Runner managers on Kubernetes with multiple replicas need a PodDisruptionBudget so node drains (GKE upgrades in particular) don't evict all managers at once. The chart currently offers no way to create one.

What

Adds an optional podDisruptionBudget value rendered into a policy/v1 PodDisruptionBudget selecting the runner manager pods (the Deployment this chart manages). The value's content becomes the spec (maxUnavailable, minAvailable, unhealthyPodEvictionPolicy, ...) alongside the generated selector. Defaults to unset, so existing deployments see no change to their rendered manifests.

Ref gitlab-com/gl-infra/ci-runners#24

Edited by Igor

Merge request reports

Loading