Questions tagged [microk8s]

microk8s is a Kubernetes snap package for Ubuntu.

Filter by
Sorted by
Tagged with
12 votes
3 answers
20k views

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 ...
Kalle Richter's user avatar
10 votes
3 answers
6k views

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 ...
MrMowgli's user avatar
  • 285
4 votes
1 answer
3k views

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 ...
Lostsoul's user avatar
  • 151
3 votes
2 answers
1k views

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 ...
inverminx's user avatar
3 votes
2 answers
11k views

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 ...
Jan Zahradník's user avatar
3 votes
3 answers
2k views

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 ...
115MPH's user avatar
  • 31
2 votes
1 answer
194 views

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 ...
kedanek's user avatar
  • 159
2 votes
1 answer
2k views

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; ...
Will's user avatar
  • 101
2 votes
1 answer
1k views

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 ...
Mysterio's user avatar
  • 12k
2 votes
1 answer
3k views

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 ...
Ees Mlif's user avatar
2 votes
0 answers
483 views

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 ...
Desmond Lee's user avatar
1 vote
2 answers
756 views

Addon nfs was not found in any repository microk8s

I have a microk8s cluster with 3 nodes, running in multipass on Ubuntu 22.04. All running on my old Macbookpro mid2012. (with ubuntu, 22.04 i removed Macos) I m getting this message when i execute the ...
Ralle Mc Black's user avatar
1 vote
1 answer
8k views

How do I access microk8s externally exposed service ip over network?

I am running a microk8s instance on Ubuntu server as a vanilla install, configured with MetalLB to dynamically allocate 10.0.2.1 to 10.0.2.200 and the Nginx ingress controller enabled. I've installed ...
Conor's user avatar
  • 131
1 vote
2 answers
6k views

How to perform a port-forward on microk8s and send that process to the background?

I am trying to run this command: microk8s kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443 But the output is the following: └─[$] <> microk8s kubectl port-forward -n ...
Rafael Moreira's user avatar
1 vote
0 answers
39 views

Microk8s air gapped install issues

Followed the instructions for this tutorial in order to install microk8s in an air-gapped environment to no avail. Upon attempting the "Deploy MicroK8s cluster" step the following command ...
Aaron Bishop's user avatar
1 vote
0 answers
707 views

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 ...
Augusto's user avatar
  • 111
1 vote
0 answers
451 views

microk8s not granting me permissions to execute commands

Despite being in the microk8s OS group and having r-x access to the local config files, I am unable to execute microK8s commands that require elevated permissions. $ groups gary adm cdrom sudo dip ...
elgaz's user avatar
  • 111
1 vote
0 answers
337 views

Microk8s on Air Gapped Computer

Is there a way to install Microk8s on an air gapped computer. I followed the offline instructions on their website but having a squid proxy still requires an internet connection. (https://microk8s.io/...
David Chavarria's user avatar
1 vote
0 answers
1k views

microk8s Default Username and Password?

I have installed microk8s on my Windows 10 machine using Hyper-V. I would like to SSH into the microk8s-vm using Putty. What is the default username and password to do this?
Steve's user avatar
  • 131
1 vote
0 answers
188 views

microk8s gpu enablement on WSL2

Does microk8s support gpu enablement and kubeflow on wsl2 Ubuntu 20.04? I understand and also successfully tested Tensorflow-GPU on WSL2 in a docker setting. Wondering if microk8s currently support ...
lrnr's user avatar
  • 11
1 vote
0 answers
737 views

microk8s installation : version `GLIBC_2.27' not found

I tried to install microk8s on my ubuntu 20.04, but when I check for the status microk8s status I got this error /snap/microk8s/1839/bin/uname: /snap/core/current/lib/x86_64-linux-gnu/libc.so.6: ...
GuillaumeA's user avatar
1 vote
1 answer
1k views

UFW not blocking traffic to microk8s cluster

I successfully deployed k8s pod with service of type NodePort in microk8s cluster. Now when I enable ufw and try to deny incoming traffic to the exposed port 31001 using command ```ufw deny 31001``` , ...
ajay vasudevan's user avatar
1 vote
0 answers
78 views

Microk8s install on RPI devices

I have attempted to install microk8s on 5 rpi units but on my master node cannot get the node to accept other nodes nor do I get a response when I try to list the pods on the cluster. the command ...
TimHarmon's user avatar
1 vote
2 answers
1k views

microk8s OIDC with keycloak

I would like to protect microk8s behind an identity server (keycloak) with OIDC. Where do i have to set the configurations to use my keycloak server as a Kubernetes Identity Server?
Christoph Janik's user avatar
1 vote
1 answer
722 views

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 ...
Zoyd's user avatar
  • 111
1 vote
1 answer
5k views

How to install applications like helm on microk8s?

In order to install applications like helm on Kubernetes on Google Cloud (gCloud) I start a cloud shell from the dashboard. How would one do that or install helm in a different way on microk8s? I'm ...
Kalle Richter's user avatar
0 votes
2 answers
1k views

How do I force microk8s kubectl to generate a token for my dashboard?

I'm trying to get the token for the kubernetes dashboard. It seems none was generated. How do I force it to generate one? Here is what I did: I've installed Ubuntu 20.04 on a hyperV VM on my local ...
jahknem's user avatar
  • 35
0 votes
2 answers
642 views

Installing MicroK8S on Ubuntu 22.10

Purpose: Using Ubuntu installed in WSL2 as a development env for Cloud Native Apps. Required installation: MicroK8S, which requires systemd, snap References: https://ubuntu.com/blog/ubuntu-wsl-...
a.lgl's user avatar
  • 1
0 votes
1 answer
342 views

microk8s minio addons

I have setup a microk8s (1.26) cluster that runs on 2 vagrant VMs (both Ubuntu 22.04), I have also enabled the minio addon. The setup went well, and using sudo microk8s kubectl-minio proxy, I am able ...
Pampa Nello's user avatar
0 votes
2 answers
3k views

Ubuntu 20.04 on Raspberry Pi 4 cannot install MicroK8s

I have installed on a brand-new RPi 4 an Ubuntu server 20.04 following the indications contained here. I boot my system, it starts correctly, then I try to install MicroK8s following Canonical's ...
EM90's user avatar
  • 130
0 votes
1 answer
1k views

How can I run microk8s on LXD?

When I try to snap install microk8s on an LXD machine, it doesn't start and produces these errors: sysop@hoseplavm:~$ lxc list +------------+---------+----------------------+------+------------+------...
Mirto Busico's user avatar
0 votes
0 answers
37 views

Will Juju support Cluster-API like microk8s dooes?

Recently I found out about Cluster-API in k8s -> https://cluster-api.sigs.k8s.io/reference/providers and the Idea behind it. After a bit of research, I found https://github.com/canonical/cluster-...
GerDner's user avatar
  • 101
0 votes
0 answers
221 views

Deploying MicroStack, I get the error "Timed out while waiting for application 'microk8s' to be ready"

I'm trying to install MicroStack, but it's stuck on the microk8s deployment, dropping out by the following error: $ sunbeam cluster bootstrap --role control --role compute --role storage Management ...
Moha's user avatar
  • 11
0 votes
0 answers
107 views

How can I enable IPv6 when microk8s is already installed?

I’ve read this article about enabling IPv6 on microk8s (which is a snap-package), but the documentation only talks about how to apply the configuration before you install microk8s; I installed it ...
telometto's user avatar
  • 111
0 votes
0 answers
117 views

Prometheus Server not showing Cadvisor metrics for apiserver node

I have deployed a prometheus helm chart on my Microk8s and all is working fine. The only problem I am having is that it does not seem to be polling metrics for the leader node with the apiserver on it....
user3915932's user avatar
0 votes
0 answers
107 views

Changing the Pod and Service CIDR?

How would one go about changing the: Pod (10.1.0.0/16) Service (10.152.183.0/24) Kubernetes API (10.152.183.1) CoreDNS (10.152.183.10) CIDRs that come stock with installing Microk8s? I run a 10.0....
chazlander's user avatar
0 votes
0 answers
68 views

Access nodeport service on microk8s on multipass vm on a ubuntu machine from other machines on the same LAN

I set up 3 multipass vms on a local ubuntu machine on my home LAN, created a microk8s cluster with those vms. If I run a web app on ubuntu (no vm, no k8s) then I can access the web app from my Windows ...
Will Liao's user avatar
0 votes
0 answers
586 views

Ubunto Core 22.04 Raspberry pi - linux-modules-extra-raspi

I have Ubuntu Core on a raspberry pi 4 and installed microk8s via snap. I see regular errors in calico: "panic: runtime error: invalid memory address or nil pointer dereference" A bit of ...
Nokes's user avatar
  • 1
0 votes
1 answer
570 views

Microk8s Traefik Dashboard

I have set up a microk8s one node cluster as a test and installed and configured metalLB as a load-balancer alongside Traefik. It is working because when I set up an ingress router to whoami, it works ...
user3915932's user avatar
0 votes
0 answers
32 views

Local IP range unreachable outside of VM scope (yet same subnet)

Using Ubuntu 21.10 on both Host and VMs, I'm experiencing networking issues on the following setup: I have 3 microk8s clusters running on hosts using KVM. Each cluster has a controller plane and 2 ...
seblel's user avatar
  • 1
0 votes
1 answer
289 views

Is there any way to get Microk8s snap working in Raspberry Pi Ubuntu Core 20

I have Raspberry Pi 4 with 4GB menory and 64GB memory card. I followed this tutorial to install microk8s. In ubuntu core install part the tutorial says: "we recommend you select the latest ...
tikettun's user avatar
0 votes
0 answers
266 views

Force user to see only single application window

I'd like to configure Ubuntu 18.04 system so that: User, after logging in, can only use a single application and nothing else Underneath other with access can connect via ssh and have full control of ...
Kkulikovskis's user avatar
0 votes
1 answer
2k views

Microk8s for Mysql High- Availability

I am trying to setup MySQL HA Database with Microk8s Kubernetes. The goal is to have MySQL running on all 3 nodes with 1 floating IP in between them, and that if any of the nodes bursts up in flames ...
Perovic 's user avatar
0 votes
1 answer
1k views

microk8s on LXC: Service snap.microk8s.daemon-proxy is not running

I installed microk8s in a LXD container snap install microk8s --classic When I inspect the instance it shows that snap.microk8s.daemon-proxy is not running root@mk8s1:~# microk8s inspect Inspecting ...
onknows's user avatar
  • 340
0 votes
1 answer
432 views

Raspberry Pi 4 Microk8s cluster is not starting containers?

Thanks for your time, I have a master and worker Microk8s cluster running in my homelab. My build doc is here; GitHub I get no errors when running sudo microk8s.inspect I can't even start a simple ...
Xevious202's user avatar
0 votes
0 answers
601 views

Why can't see pod resources in the cluster which created by microk8s?

Installed microk8s by sudo snap install microk8s --classic --channel=1.17/stable Alias alias kubectl='microk8s.kubectl' Current docker container: docker container ls CONTAINER ID IMAGE ...
Jingqiang Zhang's user avatar
0 votes
1 answer
2k views

'/snap/bin' is not included in Ubuntu 18.0.4

While installing MicroK8s on a single node, getting below error while getting status of microk8s : The command could not be located because '/snap/bin' is not included in the PATH environment ...
Saurabh Gupta's user avatar
0 votes
1 answer
641 views

"microk8s.enable istio" on microk8s fails due to "field is immutable"

microk8s.enable istio on microk8s fails due to field is immutable. The relevant failure output is Error from server (Invalid): error when applying patch: {"metadata":{"annotations":{"kubectl....
Kalle Richter's user avatar
-1 votes
1 answer
955 views

ufw firewall rules are somehow autogenerated

I try to create the following ufw rules: ufw default deny ufw allow 51820/udp comment 'wireguard port' ufw allow 22/tcp comment 'ssh' ufw enable but somehow i get alot of different rules as well: To ...
Friedrich Merza's user avatar