Questions tagged [microk8s]
microk8s is a Kubernetes snap package for Ubuntu.
53
questions
0
votes
0
answers
62
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 ...
0
votes
0
answers
68
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....
1
vote
0
answers
24
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 ...
1
vote
0
answers
342
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 ...
0
votes
0
answers
66
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....
0
votes
0
answers
47
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 ...
0
votes
0
answers
435
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 ...
0
votes
0
answers
27
views
Only 1 of 3 OpenEBS ndm and csi pods are being created on install
Setup
The nodes are 3 Ubuntu 22.04 server VM installed on VMware ESXi, 6.7.0 PowerEdge R710 server.
microk8s channel 1.26/stable
OpenEBS community add-on
The issue:
I think the reason openebs-jiva ...
0
votes
0
answers
81
views
microk8s cann't add windows worker node
Microk8s 1.26.0
Master node - ubuntu 20.04.
After adding a windows worker node (Windows Server 2019 version 2004) to microk8s cluster with this guide:
https://microk8s.io/docs/add-a-windows-worker-...
0
votes
0
answers
50
views
Portainer SSL Microk8s
I have installed Microk8s on my Ubuntu server, enabled Microk8s and set up my cluster. Everything is working fine and as expected. The issue is when I go to upload my own SSL certificates in the ...
1
vote
2
answers
587
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 ...
0
votes
1
answer
304
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 ...
0
votes
0
answers
104
views
How to use "microk8s kubectl" within a "skaffold.yaml" file?
I have a skaffold.yamlfile like below:
apiVersion: skaffold/v2alpha3
kind: Config
deploy:
mk:
manifests:
- ./infra/k8s/*
build:
local:
push: false
artifacts:
- image: ...
0
votes
0
answers
106
views
Microk8s Bind to Port 80 with Non-Root User
I seem to be having an issue on microk8s that when I run a pod / container as non-root in Microk8s it cannot bind to port 80 even though I had the NET_BIND_SERVICE capability enabled. It works however ...
0
votes
0
answers
124
views
Cilium Network Policy
I have a microk8s one node cluster set up. When enabling Cilium network policies I cannot access the whoami webpage; however, I can access it fine without the network policy or if I uncomment the ...
0
votes
1
answer
445
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 ...
0
votes
2
answers
556
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-...
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 ...
1
vote
0
answers
327
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 ...
0
votes
2
answers
865
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 ...
-1
votes
1
answer
846
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 ...
0
votes
0
answers
26
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 ...
0
votes
1
answer
264
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 ...
2
votes
1
answer
188
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
...
1
vote
0
answers
290
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/...
1
vote
2
answers
5k
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 ...
3
votes
2
answers
9k
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 ...
0
votes
0
answers
248
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 ...
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 ...
1
vote
0
answers
921
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?
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;
...
1
vote
0
answers
164
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 ...
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 ...
1
vote
0
answers
721
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: ...
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 ...
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 ...
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 ...
1
vote
1
answer
968
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``` , ...
1
vote
0
answers
76
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 ...
2
votes
0
answers
467
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 ...
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 ...
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?
0
votes
1
answer
409
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 ...
0
votes
0
answers
572
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 ...
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 ...
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 ...
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 ...
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
...
1
vote
1
answer
687
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 ...
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
+------------+---------+----------------------+------+------------+------...