Questions tagged [microk8s]

microk8s is a Kubernetes snap package for Ubuntu.

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Install Magnum on Microstack Ubuntu

I have install microstack on UBUNTU. I need to try out the Kubernetes features of Openstack. How can i install Magnum Kubernetes Cluters on MICROSTACK (Openstack).
user avatar
  • 1
0 votes
0 answers
30 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 ...
user avatar
  • 33
0 votes
0 answers
32 views

Multipass + microk8s + pgadmin4

How can I connect a host-based pgadmin4 to postgres database on microk8s on multipass?
user avatar
0 votes
0 answers
33 views

UFW blocking JupyterHub and other services on Microk8s

I've setup Microk8s via snap and JupyterHub by following the steps from zero-to-jupyterhub. However I cannot access JupyterHub via the browser and I think the reason that UFW is blocking the ...
user avatar
0 votes
1 answer
152 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 ...
user avatar
0 votes
0 answers
81 views

Will Ubuntu Core on Raspberry Pi ever have USB boot support?

I've looked all over and have yet to find anything of use regarding USB booting on Ubuntu Core for the Raspberry Pi. Using the SD card on the Raspberry Pi 4 platform is way too slow for the ...
user avatar
0 votes
0 answers
15 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 ...
user avatar
  • 1
0 votes
0 answers
129 views

Unable to access kubernetes-dashboard running on microk8s running from Raspberry Pi 4

I am trying to setup microk8s running on Raspberry Pi 4 which I bought few days ago by following https://ubuntu.com/tutorials/install-a-local-kubernetes-with-microk8s#4-accessing-the-kubernetes-...
user avatar
  • 1
0 votes
1 answer
116 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 ...
user avatar
0 votes
0 answers
209 views

New microK8s cluster, dashboard fails when starting out

Setup a 3 node cluster with microk8s, seems like a snap. However when I try and access the dashboard, the pod hosting it fails and dies. When I do get there, I don't get the dashboard, but rather ...
user avatar
  • 101
2 votes
1 answer
98 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 ...
user avatar
  • 59
0 votes
0 answers
68 views

How do I configure microk8s to assign SSL certs for microk8s pods with dns traefik metallb storage helm3 rbac enabled?

I'm trying to learn how to set up and manage Kubernetes using microk8s on Ubuntu 20.04. For the admin interface I'm using Rancher, as it allows me to easily mount NFS share to my pods. But I would ...
user avatar
1 vote
0 answers
122 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/...
user avatar
0 votes
0 answers
29 views

Microk8s + Docker images from cdkbot

I am just starting with MicroK8s for personal use and I ended up installing images from CDKBOT user. Is that a trust source? I image that CDK stands for Canonical Distribution of Kubernetes
user avatar
  • 1
0 votes
2 answers
2k 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 ...
user avatar
1 vote
2 answers
3k 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 ...
user avatar
0 votes
0 answers
100 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 ...
user avatar
1 vote
3 answers
1k 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 ...
user avatar
  • 11
1 vote
0 answers
300 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?
user avatar
  • 21
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; ...
user avatar
  • 91
1 vote
0 answers
116 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 ...
user avatar
  • 11
0 votes
2 answers
2k 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 ...
user avatar
  • 130
1 vote
0 answers
643 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: ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
653 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 ...
user avatar
  • 210
2 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
570 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``` , ...
user avatar
1 vote
0 answers
68 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 ...
user avatar
2 votes
0 answers
334 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 ...
user avatar
0 votes
1 answer
6k 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 ...
user avatar
  • 111
1 vote
2 answers
589 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?
user avatar
0 votes
1 answer
366 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 ...
user avatar
0 votes
0 answers
464 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 ...
user avatar
2 votes
3 answers
3k 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 ...
user avatar
  • 195
3 votes
1 answer
2k 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 ...
user avatar
  • 141
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 ...
user avatar
3 votes
2 answers
882 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 ...
user avatar
1 vote
1 answer
538 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 ...
user avatar
  • 111
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 +------------+---------+----------------------+------+------------+------...
user avatar
0 votes
1 answer
558 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....
user avatar
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 ...
user avatar
10 votes
3 answers
12k 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 ...
user avatar