What subcharts should be enabled by default?

Summary

Currently, all subcharts are enabled by default, which provides a convenient method to spin up a functional GitLab service in a Kubernetes cluster. But as indicated clearly in our documentation:

The default Helm chart configuration is not intended for production.

Sometimes, due to various reason, the default chart is used in users' production environment. It is not just cause instability in those production environments, but also cause customer support pain points.

Possible solution

Though it is hard to completely prevent such scenario, we can reduce the likelihood.

As suggested by the documentation, For production deployments, you must follow the Cloud Native Hybrid reference architecture. If we update the chart default per reference architecture recommendations, only enable the subcharts can run well in K8S by default, this could prevent any unintentionally production deployment.

For testing purpose, user can specifically pass a configuration variable to setup GitLab as is today.

Reference

  1. 3 customers deployed the default chart to their production environments last week (Internal Slack discussion)
  2. Gitaly subchart should also be disabled by default till resolving this EPIC Gitaly should run well in Kubernetes (and simil... (gitlab-org&6127).