eclipse-che / che

Kubernetes based Cloud Development Environments for Enterprise Teams
http://eclipse.org/che
Eclipse Public License 2.0
6.99k stars 1.19k forks source link

Document how to install Eclipse Che on major k8s providers #22392

Open tolusha opened 1 year ago

tolusha commented 1 year ago

Is your task related to a problem? Please describe

We don't have any docs describing how to install Eclipse Che on k8s cluster [1], but instead we have a lot of requests like this [2].

[1] https://eclipse.dev/che/docs/stable/administration-guide/installing-che/ [2] Eclipse che on Plain Kubernetes - Is it possible if so, detailed steps required. Minikube is NOT idel https://github.com/eclipse/che/issues/21743 [3] Document how to setup an OIDC provider https://github.com/eclipse/che/issues/21304

Describe the solution you'd like

In general, we have to know a couple of things before deploying Eclipse Che on k8s cluster:

  1. Prepare patch file

    cat >>cr-patch.yaml <<EOF
    apiVersion: org.eclipse.che/v2
    spec:
    networking:
    domain: <DOMAIN>
    auth:
      identityProviderURL: <IDENTITY_PROVIDER_URL>
      oAuthClientName: <CLIENT_ID>
      oAuthSecret: <CLIENT_SECRET>
    EOF
  2. Run command to deploy Eclipse Che

    chectl server:deploy --platform k8s --che-operator-cr-patch-yaml cr-patch.yaml --skip-oidc-provider-check

The main problem is in configuring OIDC provider and users would like to have a clear doc how to do this. I found a couple of successful user's stories while going through similar issues [1] [2] [3] [4] [5]. The main idea is to translate those stories in the article for che-docs

Describe alternatives you've considered

No response

Additional context

l0rd commented 1 year ago

Another related issue https://github.com/eclipse/che/issues/21304