Advanced configuration options for the Che server component

The following section describes advanced deployment and configuration methods for the Che server component.

Understanding Che server advanced configuration

The following section describes the Che server component advanced configuration method for a deployment.

Advanced configuration is necessary to:

  • Add environment variables not automatically generated by the Operator from the standard CheCluster Custom Resource fields.

  • Override the properties automatically generated by the Operator from the standard CheCluster Custom Resource fields.

The customCheProperties field, part of the CheCluster Custom Resource server settings, contains a map of additional environment variables to apply to the Che server component.

Example 1. Override the default memory limit for workspaces

Previous versions of the Che Operator had a ConfigMap named custom to fulfill this role. If the Che Operator finds a configMap with the name custom, it adds the data it contains into the customCheProperties field, redeploys Che, and deletes the custom configMap.