Fine-tune the server
Fine-tune the OpenShift Dev Spaces server by setting environment variables or overriding properties that are not exposed through the standard CheCluster Custom Resource fields.
Advanced configuration is necessary to:
- Add environment variables not automatically generated by the Operator from the standard
CheClusterCustom Resource fields. - Override the properties automatically generated by the Operator from the standard
CheClusterCustom Resource fields.
The extraProperties field, part of the CheCluster Custom Resource cheServer settings, contains a map of additional environment variables to apply to the OpenShift Dev Spaces server component. For a complete list of available fields and instructions on applying changes with the CLI, see Additional resources.
Override the default memory limit for workspaces
- Configure the
CheClusterCustom Resource.apiVersion: org.eclipse.che/v2 kind: CheCluster spec: components: cheServer: extraProperties: CHE_LOGS_APPENDERS_IMPL: jsonNote:Previous versions of the OpenShift Dev Spaces Operator had a ConfigMap named
customto fulfill this role. If the OpenShift Dev Spaces Operator finds aconfigMapwith the namecustom, it adds the data into thecustomChePropertiesfield. The Operator then redeploys OpenShift Dev Spaces and deletes thecustomconfigMap.