Enabling Dev Workspace engine

This procedure describes how to enable the Dev Workspace engine to support the Devfile 2.0.0 file format and mentions how to do so on existing instances or those about to be installed.

  • The kubectl and chectl tools are available.

  • For a new OperatorHub installation:

    1. Enter the Eclipse Che Cluster using OpenShift Container Platform and create CheCluster Custom Resource (CR). See, Creating an instance of the Eclipse Che Operator

    2. Set the following values in eclipse-che Custom Resource (CR):

          enable: true
  • For a new chectl installation:

    1. Configure the the chectl installation using:

      $ chectl server:deploy --che-operator-cr-patch-yaml=patch.yaml ...

      patch.yaml must contain the following:

          enable: true
  • For already existing Che installation:

    1. Update eclipse-che CR using the kubectl tool:

      $ kubectl patch checluster/eclipse-che -n eclipse-che --type=json -p \
      '[{"op": "replace", "path": "/spec/devWorkspace/enable", "value": true}]'
Additional resources

For information about installation methods mentioned in this chapter, see Installing Che.