This addon create Eclipse Che templates, image streams and a project running Che in Minishift. In short this helps in setting up Eclipse Che on Minishift inline with Deploy Che on Minishift
This addon provides an easy way to install Eclipse Che on MiniShift.
Eclipse Che provides a complete cloud IDE.
The best way of using this add-on is via the minishift add-ons apply command which is outlined in the following paragraphs.
Start Minishift using something like this:
$ minishift start
However, as default memory is set to 2GB and a che-server takes about 700MB memory and a default stack workspace can reach 2GB, we recommand to start Minishift with at least 5GB:
$ minishift start --memory=5GB
enable will setup Eclipse Che when you start Minishift the next time.
$ minishift addons enable che
If Minishift is already started and che addon is installed. It is possible to deploy che without restarting Minishift:
$ minishift addons apply cheTo deploy a custom che-server image (e.g. eclipse/che-server:local):
$ minishift addons apply --addon-env CHE_IMAGE_REPO=eclipse/che-server --addon-env CHE_IMAGE_TAG=local cheTo deploy latest Che 6.14.0 use:
$ minishift addons apply --addon-env CHE_IMAGE_REPO=eclipse/che-server --addon-env CHE_IMAGE_TAG=6.14.0 cheIf the image is local, aka is not pushed to a cloud registry, this image should be present inside of minishift VM. For example:
$ eval $(minishift docker-env)
$ docker build . -t eclipse/che-server:localTo customize the deployment of the Che server, the following variables can be applied to the execution:
| Name | Description | Default Value |
|---|---|---|
NAMESPACE |
The OpenShift project where Che service will be deployed | che-mini |
CHE_IMAGE_REPO |
The docker image to be used for che. | eclipse/che-server |
CHE_IMAGE_TAG |
The docker image tag to be used for che. | latest |
GITHUB_CLIENT_ID |
GitHub client ID to be used in Che workspaces | changeme |
GITHUB_CLIENT_SECRET |
GitHub client secret to be used in Che workspaces | changeme |
Variables can be specified by adding --addon-env <key=value> when the addon is being invoked (either by minishift start or minishift addons apply).
To remove all created template and che project:
$ minishift addons remove che
To uninstall the addon from the addon list:
$ minishift addons uninstall che