Questions tagged [microk8s]

microk8s is a Kubernetes snap package for Ubuntu.

microk8s is a Kubernetes snap package for Ubuntu. microk8s is self-contained and does not overwrite an existing Kubernetes installation.

All Kubernetes commands run using microk8s are prepended with microk8s. For example, to run the kubectl tool with microk8s, run microk8s.kubectl. To set an alias with the default kubectl command, run snap alias microk8s.kubectl kubectl.

52 questions
15
votes
3 answers

How to access micro8ks's dashboard web UI?

There's information how to enable the dashboard extension microk8s.enable dashboard (which I ran) and how to display URLs of other extensions enabled like this: kubectl cluster-info How to get the URL of the dashboard of a microk8s installation…
11
votes
3 answers

How do I keep a snap from starting on boot?

Is there a way of disabling a snap from automatically starting? I installed the microk8s snap, which is very cool, however it starts automatically every time I restart my computer. I can stop it when I have logged in but it eats all my CPU and…
MrMowgli
  • 295
  • 1
  • 3
  • 12
4
votes
2 answers

Remove node from Microk8s cluster

I've dead node which I probably removed using kubectl instead of microk8s command. The problem is that microk8s status still shows it among datastore standby nodes. How can it be deleted from the cluster? microk8s remove-node 192.168.1.3…
4
votes
1 answer

Microk8s offline install without using snap?

I am trying to install Microk8s but for various reasons, we cannot use snap (mainly around the way how we start/stop services). To complicate things a bit more we do not often have internet access when we are doing the install. Is there an…
Lostsoul
  • 151
3
votes
0 answers

Microk8s high cpu usage

I recently installed microk8s on a Ubuntu 22.04 server (running on VirtualBox 7, windows 10 as host). The VM has 6 cores and 32gb of ram, so it has plenty of resources. Microk8s is installed via snap from channel 1.27/stable. I'm not running any…
Augusto
  • 131
3
votes
3 answers

MicroK8s failed to join RPI cluster error code 500

Error 500 Hello I'm halfway through my uni dissertation and stumped as I can't for the life of me figure out why the designated leaf nodes can't join the master node's cluster? I'm following the documentation correctly from the ubuntu tutorial on…
115MPH
  • 31
3
votes
2 answers

Is it possible to install MicroK8s on Ubuntu core 18?

Ubuntu Core 18 has snap built in, when trying to install it I get the following error: $ sudo snap install microk8s error: snap "microk8s" requires classic confinement which is only available on classic systems
2
votes
1 answer

Argocd Ingress not working on a Ubuntu Microk8s cluster

I have a working Microk8s cluster. After enabling the argocd community addon, the recommended ingress for argocd sever doesn't seem to be working. Here's a note I got after enabling the addon: Infer repository community for addon argocd Infer…
Mysterio
  • 12,288
2
votes
1 answer

Snap "store.RevisionNotAvailable" Error

I was trying to install microk8s on my Ubuntu 20.04.3 LTS by executing this command: sudo snap install microk8s -- classic However I got this error: error: store.RevisionNotAvailable with 2 snaps Does anyone know what is causing this error and how…
kedanek
  • 159
2
votes
1 answer

Installing Kubeflow Ubuntu Studio 20.04 then "Couldn't contact api.jujucharms.com"

I am following the install directions from both https://microk8s.io/docs and https://ubuntu.com/ai/install-kubeflow. All has been fine until; microk8s enable kubeflow Then the following happens; Enabling dns... Enabling storage... Enabling…
Will
  • 123
  • 1
  • 13
2
votes
1 answer

Microk8s doesn't start without internet access

I have a mickrok8s install from snap that after a power off doesn't start without internet access. Need a solution for not depending on the internet accessibility for my local cluster to work. Trying to get the status will generate a bunch of: The…
2
votes
0 answers

Microk8s Airgap Deployment

Setting up Microk8s on an offline airgap environment I saw the offline guide by downloading the microk8s snap however for the addons like kubeflow, metallb,promethus, linkerd, istio are they able to be enabled on the offline environment? Are…
2
votes
1 answer

Microk8s snap broken

I am trying to get Microk8s to work using snap. When I run any snap command related to microk8s, I get the following error message: error : cannot perform the following tasks: - Arrêter les services du paquet Snap "microk8s" ([stop…
Zoyd
  • 121
1
vote
1 answer

Microk8s - Networking in pod unstable

I'm running a tiny Microk8s cluster with dns and helm addons enabled. On it i run Redis, MySQL and a webserver. On the host system the following cURL request works no matter what, at every attempt: curl 'https://www.google.dk' -vvv If i tty into a…
1
vote
1 answer

kube-proxy errors and quits with nf_conntrack_max: no such file

I am getting the following error when I run microk8s on ubuntu 22 server LTS. Just a default install of 22 and microk8s with all default options. Apr 10 07:21:28 k8s-master microk8s.daemon-kubelite[13219]: E0410 07:21:28.994248 13219…
1
2 3 4