MicroK8s, developed by Canonical, is a lightweight Minimal CNCF-certified distribution of Kubernetes. Designed for local development, IoT appliances, CI/CD, and use at the edge, MicroK8s is available as a snap and available on Linux, Windows and Mac.
Questions tagged [microk8s]
415 questions
0
votes
0 answers
Configuring Traefik with kubernetes
Dears, Kubernetes newbie here.
I'd like to set up a traefik instance on my k8s cluster and proxy incoming requests to backend components.
That's my deployment file
kind: Deployment
apiVersion: apps/v1
metadata:
name: traefik-deployment
labels:
…

FrankBr
- 886
- 2
- 16
- 37
0
votes
0 answers
microk8s ctr image ls does not show my images
My microk8s runs in my Windows WSL 2 instance. I need to use my WSL IP address to access the container registry, like 172.21.115.208:32000.
After I pushed an image to that repository, I could not find it through microk8s ctr images ls. But I can…

David S.
- 10,578
- 12
- 62
- 104
0
votes
1 answer
Host node address (alias or static ip?) from inside containers
What is the correct way to address a host node from inside containers?
I have a container that resides on a host node, and the host node has a web server running on it. The container needs to be able to hit web server on the host node.
I expected to…

timoq
- 3
- 1
0
votes
2 answers
DaemonSet with two different images. But only use one of them
What i want to achieve: Let say that i have a physical cluster consist of 20 worker nodes, and the customer want to rollout a new version of an docker-image to DaemonSet. But, the costumer does not want to rollout to the entire cluster, they want to…
0
votes
1 answer
Why are pods still running after microk8s has been stopped?
I'm in learning mode here, so please forgive me if this is a stupid question...
I have just installed microk8s on ubuntu following the instructions at https://ubuntu.com/tutorials/install-a-local-kubernetes-with-microk8s
Everything works. The…

Duncan
- 507
- 3
- 14
0
votes
0 answers
Possible to join different (managed) Kubernetes Control Planes (GKE + EKS + MicroK8s) together?
I am currently experimenting with MicroK8s on my Raspberry Pi, and I am also looking into managed cloud solutions like Google GKE and Amazon EKS.
I thought that because they are all Kubernetes in their core, I could sync the control plane of my…

ZeroMax
- 369
- 4
- 13
0
votes
0 answers
Ingress for MicroK8s argocd addon not working
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
- 2,878
- 2
- 15
- 21
0
votes
0 answers
Unable to find correct selector for vault on Kubernetes with MicroK8s
I am currently working for the first time with a vault and I am encountering an issue. I am following the official guide from hashicorp to install the vault on a Kubernetes cluster and I am running it with MicroK8s.
However, I am not able to unseal…

Victor Schmit
- 1
- 2
0
votes
1 answer
KubeEdge init "cannot parse IP address of length 0"
Im trying to initialize the cloudcore on an Azure vm, using the following command:
sudo keadm init --kube-config ${HOME}/.kube/config --advertise-address "public_ip:10000"
However, the log says the following:
tail -f -n 50…

Alvaro Lopez
- 323
- 1
- 2
- 10
0
votes
1 answer
Edit a microk8s secret using kubectl in airflow
I am trying to edit a secret that we have stored in airflow server using microk8s kubectl.
At the moment all I can do is find the coded secret using:
microk8s kubectl get secrets/MySecret -o jsonpath='{data}'
I want to edit the secret called 'host'…

Jasmine Tutt
- 47
- 6
0
votes
0 answers
How to change MicroK8s default network interface
The documentation for ports and services states that the microc8s will configure APIs to be accessible on the default network interface:
If I have eth0,1,2 which will be considered default? And how am I supposed to configure that?
To clarify - I…

Uvigii
- 31
- 1
- 5
0
votes
1 answer
Microk8s/Kubernetes does not use the Let's Encrypt auto-generated certificate
Having the following k8s config:
---
kind: Namespace
apiVersion: v1
metadata:
name: test
labels:
name: test
---
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: test
name: test-depl
spec:
selector:
matchLabels:
app:…

Jorge F. Sanchez
- 321
- 4
- 17
0
votes
2 answers
kustomize merge in kubernetes is overriding instead
I am trying to use Kustomize to do a Patch Strategic merge on the following yaml.
y1:
apiVersion: iam.cnrm.cloud.google.com/v1beta1
kind: IAMPolicy
metadata:
name: storage-admin-policy
namespace: cnrm-system
spec:
resourceRef:
apiVersion:…

Pavan
- 31
- 6
0
votes
1 answer
Microk8s joining cluster failed. Could not verify the identity of
I am trying to learn microk8s. I installed 3 Ubuntu in my virtual box. I installed the microk8s on each of these virtual machines. I want machines in the form of master node and 2 worker nodes to communicate with each other.
I tried to use this…

nobody1879
- 41
- 4
0
votes
1 answer
What is Terraform apply waiting for when it says 'still creating...'?
I'm using Terraform with Microk8s on my laptop. This is in preparation for using Terraform for something larger scale so I'm checking it out. I have 11 services and they all start just fine (as reported by Lens). But the Terraform apply command I…

RogerParkinson
- 499
- 6
- 18