Fine-tune the Che server

Fine-tune the Che server by setting environment variables, JVM options, and component-level configuration that the standard CheCluster fields do not expose.

When to use advanced server configuration

Advanced configuration is necessary when you need 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.

For example, to override the default log format, configure the CheCluster Custom Resource:

apiVersion: org.eclipse.che/v2
kind: CheCluster
spec:
  components:
    cheServer:
      extraProperties:
        CHE_LOGS_APPENDERS_IMPL: json

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.