Failed to enable kubeflow

7/20/2020

I'm trying to eable Kubeflow on microk8s (single machine installation) but I got an error:

Is the following:

# sudo microk8s.enable kubeflow
Enabling dns...
Enabling storage...
Enabling dashboard...
Enabling ingress...
Enabling metallb:10.64.140.43-10.64.140.49...
Waiting for DNS and storage plugins to finish setting up
Kubeflow could not be enabled:
error: timed out waiting for the condition on deployments/coredns

Command '('microk8s-kubectl.wrapper', 'wait', '--for=condition=available', '-nkube-system', 'deployment/coredns', 'deployment/hostpath-provisioner', '--timeout=10m')' returned non-zero exit status 1
Failed to enable kubeflow

==> Some command:

sudo microk8s status

microk8s is running
addons:
dashboard: enabled
dns: enabled
gpu: enabled
ingress: enabled
metallb: enabled
metrics-server: enabled
storage: enabled
cilium: disabled
fluentd: disabled
helm: disabled
helm3: disabled
host-access: disabled
istio: disabled
jaeger: disabled
knative: disabled
kubeflow: disabled
linkerd: disabled
prometheus: disabled
rbac: disabled
registry: disabled

sudo snap find microk8s

Nom       Version  Auteur      Notes    Résumé
microk8s  v1.18.4  canonical✓  classic  Lightweight Kubernetes for workstations and appliances

The output of: microk8s.kubectl get pods -A

NAMESPACE        NAME                                        READY   STATUS             RESTARTS   AGE
ingress          nginx-ingress-microk8s-controller-mftvb     0/1     CrashLoopBackOff   8          18m
kube-system      coredns-588fd544bf-692tf                    0/1     Running            0          35m
kube-system      dashboard-metrics-scraper-59f5574d4-vhmq9   1/1     Running            0          31m
kube-system      hostpath-provisioner-75fdc8fccd-wqslj       0/1     CrashLoopBackOff   9          29m
kube-system      kubernetes-dashboard-6d97855997-vl7qb       0/1     CrashLoopBackOff   9          31m
kube-system      metrics-server-c65c9d66-6d2dp               0/1     CrashLoopBackOff   9          31m
metallb-system   controller-5f98465b6b-wl7ml                 1/1     Running            0          16m
metallb-system   speaker-mfpxn                               1/1     Running            0          16m

I have a free space disck. Someone can help please ?

Thanks in advance.

-- verojoucla
kubeflow
kubernetes
ubuntu

0 Answers