microk8s: Cannot access kubeflow dashboard on browser

hi all,

I install the microk8s by snap with channel 1.18 and classic. Here are my steps:

sudo snap install microk8s --classic --channel=1.18
microk8s enable dns dashboard storage gpu
microk8s enable registry istio 
microk8s enable kubeflow

I got this results:

image

I copied the link on the browser but it shows nothing ( got a blank page). Used curl to check it and I got this:

image

Is there anyone who fixed this situation before?

Thank you so much!

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

Final update:

I am really glad that this one is useful!! I can successfully enable the kubeflow with the latest version.

Actually the first time was fail to enable. Hence, I did one thing then changing the behaviour.

sudo snap install microk8s --channel=latest/edge --classic
sudo snap install juju --classic
microk8s enable dns dashboard storage gpu registry istio
microk8s enable kubeflow

I don’t know whether it can pass the Bootstrapping stage because of installing juju first or not, but the results seem good! image

Check the dashboard! link: http://10.64.140.44.nip.io/

2021-05-1130 2021-05-1129_2 2021-05-1129_1

@DomFleischmann Thanks for your help!!

When trying to use “sudo snap install microk8s --channel=latest/edge --classic” at this moment in time, it gets the latest version (1.22) and this currently doesn’t support kubeflow as shown here: https://github.com/ubuntu/microk8s/issues/2496

I tried using sudo snap install microk8s --classic --channel=1.21/stable and getting an 403 error.

If you have some updated solution, I will appreciate it!

Glad I could help @chiehpower !

Final update:

I am really glad that this one is useful!! I can successfully enable the kubeflow with the latest version.

Actually the first time was fail to enable. Hence, I did one thing then changing the behaviour.

sudo snap install microk8s --channel=latest/edge --classic
sudo snap install juju --classic
microk8s enable dns dashboard storage gpu registry istio
microk8s enable kubeflow

I don’t know whether it can pass the Bootstrapping stage because of installing juju first or not, but the results seem good! image

Check the dashboard! link: http://10.64.140.44.nip.io/

2021-05-1130 2021-05-1129_2 2021-05-1129_1

@DomFleischmann Thanks for your help!!

Try it. It’s working for me.

I tested it and waited for a while but the situation is still the same. I will remove k8s and retry again! Thank you!