canonical / microk8s

MicroK8s is a small, fast, single-package Kubernetes for datacenters and the edge.
https://microk8s.io
Apache License 2.0
8.4k stars 767 forks source link

[kubeflow] cannot install 1.17/stable #1115

Closed sakaia closed 4 years ago

sakaia commented 4 years ago

instruction (step1)

$ sudo snap install microk8s --classic --channel=1.17/stable
$ sudo usermod -a -G microk8s ubuntu
$ sudo chown -f -R ubuntu ~/.kube

relogon(step2)

$ sudo snap alias microk8s.kubectl kubectl
$ microk8s.status --wait-ready
$ microk8s.enable dns dashboard storage
$ microk8s.enable kubeflow

Following message appeared

Enabling dns...
Enabling storage...
Enabling dashboard...
Enabling ingress...
Enabling rbac...
Enabling juju...
Deploying Kubeflow...
Located bundle "cs:bundle/kubeflow-185"
ERROR cannot deploy bundle: the provided bundle has the following errors:
empty charm path
invalid charm URL in application "kubeflow-gatekeeper": cannot parse URL "": name "" not valid

Command '('microk8s-juju.wrapper', 'deploy', 'cs:kubeflow', '--channel', 'stable', '--overlay', '/tmp/tmpy9x5u0qq')' returned non-zero exit status 1
Failed to enable kubeflow
sakaia commented 4 years ago

This is following problem.

$ sudo snap install microk8s --classic --channel=1.17/stable

For latest version, this error is not appeared. (successfully finished)

$ sudo snap install microk8s --classic --channel=stable
knkski commented 4 years ago

Yeah, 1.18 introduced a new login service that matches upstream's 1.0 release. Is there a reason you're not using 1.18?

sakaia commented 4 years ago

Thank you, I understand situation.

Since microk8s1.18 with kubeflow does not connect WebUI properly on EC2, I try to use microk8s 1.17.

Currently I use microk8s 1.15 + kubeflow 1.0.2 with modify following script. https://gist.github.com/fdasilva59/f3a84afa93bb4fe394833120afff5a53