Score:0

Kubeflow installation failed in Ubuntu 18.04

cd flag

We had tried to install Kubeflow as instructed here.

When we ran microk8s enable kubeflow --ignore-min-mem as test node doesnt have 8GB+ memory.

It gets following output during installation

Enabling dns...
Enabling storage...
Enabling ingress...
Enabling metallb:10.64.140.43-10.64.140.49...
Waiting for other addons to finish initializing...
Addon setup complete. Checking connectivity...
Bootstrapping...
Kubeflow could not be enabled:
ERROR registering credentials errored cannot acquire lock file for updating credentials for microk8s: unable to open /tmp/juju-store-lock-3661313765303233: permission denied
ERROR detecting credentials for "microk8s" cloud provider: no context found for context name: "", cluster name: ""
See `juju add-credential microk8s --help` for instructions

Similar issue is discussed here, but it doesnt have an answer.

I have added user to visudo file to have root privileges.

Ubuntu : 18.04.5 LTS

microk8s status --wait-ready

microk8s is running
high-availability: no
  datastore master nodes: 127.0.0.1:19001
  datastore standby nodes: none
addons:
  enabled:
    dashboard            # The Kubernetes dashboard
    dns                  # CoreDNS
    ha-cluster           # Configure high availability on the current node
    helm3                # Helm 3 - Kubernetes package manager
    ingress              # Ingress controller for external access
    metallb              # Loadbalancer for your Kubernetes cluster
    metrics-server       # K8s Metrics Server for API access to service metrics
    storage 
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.