The reference values size a Deckhouse Code Helm release for 300, 500, 1000, 3000 or 5000 users, one page per size. Each size has a standalone variant and a high availability variant. In the standalone variant every component runs one replica. In the high availability variant every component runs at least two replicas. The release runs in the high availability mode when the cluster has at least three Gitaly replicas and three Praefect replicas; with fewer, the chart prints a non-HA configuration warning after install and upgrade. HorizontalPodAutoscaler objects add replicas under CPU load, PodDisruptionBudget objects keep pods available while nodes are drained, and each Gitaly pod holds a full copy of every repository (see Git storage).

The gitlab.gitlab-pages and registry values take effect once Pages and the container registry are enabled; both are disabled by default (see Container registry and Pages).

Applying the values

Save the chosen variant to a file, for example scaling.yaml, and pass it to the install command after the values file of the installation. Helm merges the files in the order of the -f flags, and a key set in several files takes the value from the last one:

helm upgrade --install code oci://<CHART_REGISTRY>/code \
  --version <CHART_VERSION> \
  -n code --create-namespace \
  -f values.yaml \
  -f scaling.yaml

values.yaml is the values file of the installation from Quick start. The same command resizes a running release: the pods of the components whose values changed are recreated.

Additional resources