Using the CLI to configure the CheCluster Custom Resource

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

  • An instance of Che on Kubernetes or OpenShift.

  • An active kubectl session with administrative permissions to the destination Kubernetes cluster. See Overview of kubectl.

  1. Edit the CheCluster Custom Resource on the cluster:

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

  1. Verify the value of the configured property:

    $ kubectl get configmap che -o jsonpath='{.data.<configured_property>}' \
    -n eclipse-che