Skip to content

Split Zoekt updateStrategy value for both gateway deployment and zoekt statefulset

What does this MR do and why?

This MR splits the updateStrategy value so that can be used separately for the Gateway Deployment and the Zoekt StatefulSet. Using the same value for both is risky, since updateStrategy children for Deployments and Statefulset may have difference elements according to the Kubernetes API.

In addition to this, please note that using updateStrategy.maxUnavailable in Statefulsets is only available for K8s clusters with version >=1.24. For some reason, in GitLab version 17.7 this is detected as an error at the time of deploying, introducing a breaking change.

See https://support.gitlab.com/hc/requests/601353 for further information.

Edited by Ismael Posada Trobo

Merge request reports

Loading