eclipse-theia / theia-cloud-helm

Eclipse Public License 2.0
5 stars 7 forks source link

Instructions #14

Open jimouris opened 1 year ago

jimouris commented 1 year ago

Hello, could you please add some instructions on how to set this up? I'm following the instruction from here but I'm getting the following error:

$ helm install theia-cloud theia-cloud-remote/theia-cloud --namespace theiacloud --create-namespace --devel

Error: INSTALLATION FAILED: cannot re-use a name that is still in use
$ helm ls                                                                                                                                                                                                                                                                                            

NAME                NAMESPACE   REVISION    UPDATED                                 STATUS      CHART                           APP VERSION
theia-cloud         theiacloud  1           2023-02-22 12:15:39.088188955 -0500 EST deployed    theia-cloud-0.8.0-MS8v2         0.8.0-MS8  
theia-cloud-base    theiacloud  1           2023-02-22 12:16:55.154136862 -0500 EST failed      theia-cloud-base-0.8.0-MS8v2    0.8.0-MS8  
jfaltermeier commented 1 year ago

Hi, for a local test setup we have more detailed instructions here: https://github.com/eclipsesource/theia-cloud/blob/main/doc/docs/platforms/Minikube.md

In your case the theia-cloud-base installation shows as failed. I would suggest to uninstall both installations with helm uninstall theia-cloud and helm uninstall theia-cloud-base.

Then make sure that the cert-manager is installed (https://github.com/eclipsesource/theia-cloud/blob/main/doc/docs/platforms/Minikube.md#cert-manager) and rerun helm install theia-cloud-base theia-cloud-remote/theia-cloud-base --set issuer.email=your-mail@example.com --devel Please make sure to use an actual email here. It might be that the cert-manager/let's encrypt blocks some email-addresses. This could lead to a failed state.

Then check with helm ls whether it was successful this time or if you got any errors. If the base is installed succesfully, then continue with helm install theia-cloud theia-cloud-remote/theia-cloud --namespace theiacloud --create-namespace --devel

jimouris commented 1 year ago

@jfaltermeier thanks, that solved it! I got stuck in a different step though.

When I run kubectl get svc --all-namespaces from the Install Section, my ingress-nginx-controller does not get assigned an EXTERNAL-IP so I cannot edit the hosts.

Thanks for your help.

jfaltermeier commented 1 year ago

Which Kubernetes Cluster are you using? Depending on the cluster you might have to do some extra configuration: https://kubernetes.github.io/ingress-nginx/deploy/#installation-guide