Skip to content

Added deploymentStrategy value

What does this MR do?

Add a way to customize deployment strategy for the runner deployment through the values file of the Helm chart.

Why was this MR needed?

In our on-premise Gitlab runners Kubernetes setup there's a limited resources allocated for the runners, so when we rollout new updates for the runners, it hit the namespace limits we have for these runners so we need to control and customize the deployment strategy for the runners.

What's the best way to test this MR?

Add this value the Helm chart values:

 deploymentStrategy:
     type: RollingUpdate
     rollingUpdate:
       maxSurge: 2
       maxUnavailable: 0

It should be reflected in the deployment under .spec.strategy

Edited by Ahmed Khaled

Merge request reports