Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions #14

Open
jimouris opened this issue Feb 28, 2023 · 3 comments
Open

Instructions #14

jimouris opened this issue Feb 28, 2023 · 3 comments

Comments

@jimouris
Copy link

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
Copy link
Contributor

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
Copy link
Author

jimouris commented Mar 2, 2023

@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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants