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.

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

Procedure
  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.

Verification
  1. Verify the value of the configured property:

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