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
1
vote
1 answer
Wait for nvidia gpu-operator before starting pods
I have run into an issue where helm installing my charts will work fine, but when I go to restart the system, the nvidia gpu operator will fail to validate.
Bootstrapping is simple:
$ microk8s enable gpu
< watching dashboard for all the pods to turn…

directedition
- 11,145
- 18
- 58
- 79
1
vote
2 answers
Is it possible to create a Kubernetes service and pod in different namespaces
Is it possible to create a Kubernetes service and pod in different namespaces, for example, having myweb-svc pointing to the actual running myweb-pod, while myweb-svc and myweb-pod are in different namespaces?

Ian
- 129
- 1
- 8
1
vote
2 answers
microk8s wont start: The exported locale is "C.UTF-8" but it is not supported
We are trying to install microk8s in Centos 7.9 and it wont start. We get an error message as below:
# snap --version
snap 2.57.6-2.el7
snapd 2.57.6-2.el7
series 16
centos 7
kernel 3.10.0-1160.81.1.el7.x86_64
# microk8s version
MicroK8s…

ebeb
- 429
- 3
- 12
1
vote
0 answers
kubernetes container creation takes too long
Using microk8s installation. After an image is pulled it takes addional tens of minutes to create a container:
light@siddhalok:~/camera_serv$ k describe pod lh-graphql-6db75544cf-j65wp
Name: lh-graphql-6db75544cf-j65wp
Namespace: …

noname7619
- 3,370
- 3
- 21
- 26
1
vote
1 answer
Kubernetes keeps re-pulling images
Using microk8s installation. An image is tagged, so should use IfNotPresent policy.
apiVersion: apps/v1
2 kind: Deployment
3 metadata:
4 name: lh-graphql
5 labels:
6 app: lh-graphql
7 spec:
8 selector:
9 matchLabels:
…

noname7619
- 3,370
- 3
- 21
- 26
1
vote
2 answers
How to access an application/container from dns/hostname in k8s?
I have a k8s cluster where I deploy some containers.
The cluster is accessible at microk8s.hostname.internal.
At this moment I have an application/container deployed that is accessible here: microk8s.hostname.internal/myapplication with the help of…

Viktor Eriksson
- 5,677
- 3
- 20
- 24
1
vote
0 answers
Harbor installation via Bitnami helm chart expose via host machine ingress controller (not External Load Balancers) on single node microk8s cluster
it is about to expose service via ingress rules and ingress controller , i do installation of harbor registry via helm chart https://github.com/bitnami/charts/tree/master/bitnami/harbor and default service expose method is to bind service to…

sahib nasirri
- 11
- 2
1
vote
1 answer
Microk8s reaches internet but not internal network
I've just installed Ubuntu 22.04 on a vmware virtual server and started using microk8s. The server is part of a local network in which there are some servers, including microsoft AD and IIS servers that handle the network.
I've docker installed on…

lsabi
- 3,641
- 1
- 14
- 26
1
vote
1 answer
Issue running KNative with MicroK8S on Multipass
I'm trying to get KNative to be able to create services on my Multipass VM with MacOS as the host OS and I am using MicroK8S. I have DNS enabled and I am using metallb as my ingress controller. I have also changed Multipass to use hyperkit instead…

CGideon
- 143
- 2
- 15
1
vote
0 answers
Kubernetes and microk8s join error: Joining failed
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
microk8s…

nobody1879
- 41
- 4
1
vote
1 answer
Why helm chart cannot be install on Microk8s?
I am using microk8s to run Kubernetes on my Ubuntu server. I am using the helm v3 as my helm command.
This is the result of the helm version command:
version.BuildInfo{Version:"v3.9.2", GitCommit:"1addefbfe665c350f4daf868a9adc5600cc064fd",…

Navid_pdp11
- 3,487
- 3
- 37
- 65
1
vote
1 answer
How to use microk8s kubectl after host reboot (Hyper-V)
I have a fully functional MicroK8s running in my Hyper-V. After my host rebooted, I can't use microk8s kubectl anymore. I always get the following error:
microk8s kubectl get node -o wide
Unable to connect to the server: dial tcp…

Will Huang
- 2,955
- 2
- 37
- 90
1
vote
1 answer
Deploy kafka-ui in kubernetes got 502 Bad Gateway
I tried to deploy the Kafka-UI in my local Kubernetes cluster, but ingress-nginx gives 502 error (Bad Gateway). I used the following configurations:
Deployment:
apiVersion: apps/v1
kind: Deployment
metadata:
name: kafka-ui-deployment
labels:
…

Haoyuan
- 11
- 3
1
vote
0 answers
Referencing cross namespace services in microk8s
If I have 2 namespaces A and B, attempting to reference a service from B using the standard DNS convention for k8s ..svc.cluster.local fails
so from a a pod deployed in namespace B to reference db service deployed in namespace…

Sam D
- 11
- 1
1
vote
2 answers
Statefulset pod is using more storage than defined in the volumeClaimTemplates
I created below statfulset on microk8s:
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: postgresql13
spec:
selector:
matchLabels:
app: postgresql13
serviceName: postgresql13
replicas: 1
template:
metadata:
…

frisky5
- 29
- 10