Using the CLI to configure the CheCluster Custom Resource

To configure a running instance of Che, edit the CheCluster Custom Resource YAML file.

Prerequisites
  • An instance of Che on Kubernetes or OpenShift.

  • Access to an administrator account on the instance of Kubernetes or OpenShift.

  • The oc tool is available.

Procedure
  1. Edit the CheCluster Custom Resource on the cluster:

    $ oc edit checluster/eclipse-che -n eclipse-che
  2. Save and close the file to apply the changes.

Verification
  1. Verify the value of the configured property:

    $ oc get configmap che -o jsonpath='{.data.<configured-property>}' \
    -n eclipse-che