eclipse-che

by Eclipse Che

Helm chartv7.125.0EPL-2.0Verified publisher

A Helm chart for deploying Eclipse Che on a Kubernetes

About this chart

Eclipse Che Helm Charts

  • Charts
    • About
    • Prerequisites
    • Installation

Charts

Helm charts to deploy Eclipse Che

About

Eclipse Che is a cloud-based, Kubernetes-native development environment designed to simplify and enhance the developer experience. It provides fully containerized workspaces, allowing developers to write, build, and debug applications in a consistent and reproducible manner. Eclipse Che eliminates the need for complex local setups by offering pre-configured development environments that run in the cloud, making collaboration easier across teams.

Key Features

  • Cloud-Native Workspaces
  • Integrated Development Environment (IDE)
  • Kubernetes and OpenShift Support
  • Preconfigured Stacks
  • Team Collaboration
  • Secure and Scalable

Eclipse Che simplifies onboarding, development, and collaboration by bringing full-fledged development environments to the cloud.

For a detailed introduction to Eclipse Che, refer to the official documentation:
https://eclipse.dev/che/docs/stable/overview/introduction-to-eclipse-che/

Prerequisites

  • Minimal Kubernetes version is 1.19
  • Minimal Helm version is 3.2.2

Installation

Install Cert Manager using Helm

CERT_MANAGER_VERSION=v1.17.0

helm repo add jetstack https://charts.jetstack.io --force-update
helm install \
  cert-manager jetstack/cert-manager \
  --namespace cert-manager \
  --create-namespace \
  --version ${CERT_MANAGER_VERSION} \
  --set crds.enabled=true

Install DevWorkspace operator using kubectl

  1. Create devworkspace-controller namespace:
kubectl create namespace devworkspace-controller
  1. Install the DevWorkspace Operator. Check the DevWorkspace Operator releases page to find the latest version.
DEVWORKSPACE_OPERATOR_VERSION=v0.33.0
kubectl apply -f https://github.com/devfile/devworkspace-operator/raw/refs/tags/"${DEVWORKSPACE_OPERATOR_VERSION}"/deploy/deployment/kubernetes/combined.yaml 
  1. Wait until the DevWorkspace Operator pods are ready:
kubectl wait --namespace devworkspace-controller \
      --timeout 90s \
      --for=condition=ready pod \
      --selector=app.kubernetes.io/part-of=devworkspace-operator
  1. Create the DevWorkspaceOperatorConfig, replacing <CLUSTER_HOST_SUFFIX> with the public domain name of the Kubernetes cluster.
kubectl apply -f - <<EOF
apiVersion: controller.devfile.io/v1alpha1
kind: DevWorkspaceOperatorConfig
metadata:
  name: devworkspace-operator-config
  namespace: devworkspace-controller
config:
  routing:
    clusterHostSuffix: "<CLUSTER_HOST_SUFFIX>"
EOF

Configure OIDC Identity Provider on the cluster.

Note that every Kubernetes cluster has its own specific configuration requirements for setting up an OIDC provider, such as unique issuer URLs, client IDs, and redirect URIs.

Install Eclipse Che Operator using Helm

  1. Create ecipse-che namespace
kubectl create namespace eclipse-che
  1. Install the Eclipse Che Operator by clicking the Install button in the top-right corner and follow the instructions. Wait until the Operator is ready:
kubectl wait \
      --namespace eclipse-che \
      --timeout 90s \
      --for=condition=ready pod \
      --selector=app.kubernetes.io/component=che-operator
  1. Click the CRDs button, select the CheCluster template, and then click the Download button. Update the downloaded file eclipse-che-CheCluster.yaml by setting the following fields:
spec:
  networking:
    domain: <...>
    auth:
      identityProviderURL: <...>
      oAuthClientName: <...>
      oAuthSecret: <...>

For more information on how to configure the CheCluster, see the CheCluster Custom Resource fields reference.

  1. Create CheCluster CR:
kubectl apply -f eclipse-che-CheCluster.yaml -n eclipse-che
  1. Wait until the Eclipse Che is ready:
kubectl wait checluster/eclipse-che \
      --namespace eclipse-che \
      --for=jsonpath='{.status.chePhase}'=Active \
      --timeout=360s

You can monitor the deployment process by viewing the Operator logs:

kubectl logs \
    --namespace eclipse-che \
    --selector app.kubernetes.io/component=che-operator \
    --follow
  1. Open the Eclipse Che URL in a web browser:
kubectl get checluster/eclipse-che \
    --namespace eclipse-che \
    --output jsonpath="{.status.cheURL}"

Eclipse Che is ready to use!

Deploy eclipse-che with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has eclipse-che on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charteclipse-che is pinned at v7.125.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply