Install Che on Red Hat OpenShift Local
To evaluate Che on a local Kubernetes cluster, deploy Che by using Red Hat OpenShift Local for development and testing.
-
You have
chectlinstalled. See Installing the chectl management tool. -
You have a running instance of Red Hat OpenShift Local. See Red Hat OpenShift Local overview.
-
You know the file path of your Red Hat OpenShift Local pull secret.
-
You have at least 12 GB of available memory.
-
You have at least 64 GB of available disk space.
-
Remove the previous cluster:
$ crc delete -
Configure your host machine for Red Hat OpenShift Local:
$ crc setup -
Start the Red Hat OpenShift Local virtual machine with at least 12 GB of memory and 64 GB of disk space. Specify the path to your pull secret:
$ crc start --memory 12288 --disk-size=64 --pull-secret-file <pull_secret_file>Take note of the password for the kubeadminuser displayed at the end of the Red Hat OpenShift Local initiation. -
Enable access to the
occommand line interface embedded in Red Hat OpenShift Local:$ eval $(crc oc-env) -
Install the Che instance using chectl:
$ chectl server:deploy --platform crc
-
Verify the Che instance status:
$ chectl server:status -
Navigate to the Che cluster instance:
$ chectl dashboard:open