Expose Eclipse Che to external client

12/18/2020

I've installed Eclise Che within Minikube (Docker driver) ob Ubuntu 20.04 Server (running within VMware Workstation). Everything seems to be okay. But I'm not able to access Eclipse Che from my client.

Can anybody help me to configure the network so that I can open Che on my Laptop? What are the steps to expose Che to the outer world?

The external client and the Ubuntu-VM are on the same network (192.168.108.0/24).

minikube ip 192.168.49.2

<!-- begin snippet: js hide: false console: true babel: false --><!-- language: lang-html -->
user@vm1:~$ kubectl expose deployment che --type=NodePort -n che --port 8080

service/che exposed user@vm1:~$ kubectl get svc -n che NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE che NodePort 10.102.134.58 <none> 8080:30532/TCP 39s che-host ClusterIP 10.109.70.136 <none> 8080/TCP,8087/TCP 5h45m devfile-registry ClusterIP 10.109.158.136 <none> 8080/TCP 5h39m keycloak ClusterIP 10.99.50.133 <none> 8080/TCP 5h45m plugin-registry ClusterIP 10.109.25.144 <none> 8080/TCP 5h39m postgres ClusterIP 10.105.162.37 <none> 5432/TCP 5h46m user@vm1:~$ minikube service -n che che |-----------|------|-------------|---------------------------| | NAMESPACE | NAME | TARGET PORT | URL | |-----------|------|-------------|---------------------------| | che | che | 8080 | http://192.168.49.2:30532 | |-----------|------|-------------|---------------------------|

<!-- end snippet -->

Any help would be greatly appreciated.

Thank you.

-- sy-subrc
eclipse-che
kubernetes
minikube
ubuntu

0 Answers