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
1 answer
How to find the IP address of MicroK8
I am fairly new to K8 and am working on a setup on my sandbox environment to be replicated on some Ubuntu VMs at a client site.
I have a number of services running within my cluster and ingress rules set up to route to them. Ingress Add-on is…

royneedshelp
- 97
- 1
- 9
0
votes
1 answer
spark-submit on local microK8's Kubernetes cluster fails with: java.security.cert.CertPathValidatorException
I am trying to to submit the spark-pi example on my local microK8's Kubernetes cluster with the following command:
$SPARK_HOME/bin/spark-submit \
--master k8s://127.0.0.1:16443 \
--deploy-mode cluster \
--name spark-pi \
--class…

Lorenz
- 123
- 1
- 9
0
votes
1 answer
How Do I define a microk8s.ctr filter?
The output for microk8s.ctr image ls --help gives:
NAME:
ctr images list - list images known to containerd
USAGE:
ctr images list [command options] [flags] [, ...]
DESCRIPTION:
list images registered with containerd
OPTIONS:
…

mconner
- 1,174
- 3
- 12
- 24
0
votes
2 answers
Can't get the application logs from pods Kubernetes
I run three services in three different containers. The logs for these services are sent to the system so if I run these on a Linux server, I can see the logs with journalctl.
Also, if I run the services in Docker containers, I can gather the logs…

Robert Botez
- 21
- 1
- 3
0
votes
0 answers
Unable to connect to the server connecteX Error
I am using Microk8s on my local Windows 10 machine and am unable to get pods or use most of kubectl commands.
At the time of installation of microk8s, multipass selected VitrualBox for VM virtualization.
I get below error
C:\Users\owner>microk8s…

Srini M
- 196
- 3
- 16
0
votes
1 answer
error parsing k8s-geneva-redis-no-secty.yml: error converting YAML to JSON: yaml: line 92: mapping values are not allowed in this context
Tried to install edgexfoundry installation on microk8s, using below command
microk8s.kubectl apply -f k8s-geneva-redis-no-secty.yml
Getting error: error parsing k8s-geneva-redis-no-secty.yml: error converting YAML to JSON: yaml: line 92: mapping…

user1817604
- 1
- 1
0
votes
0 answers
Can't ping domain from k8s pod
I installed microk8s locally on my laptop from https://ubuntu.com/tutorials/install-a-local-kubernetes-with-microk8s#1-overview, the problem is I can't ping a restricetd domain from pod, but I am able from localhost and docker container with…

Adil Blanco
- 616
- 2
- 6
- 23
0
votes
3 answers
POD in pending status because PV and PVC unable to delete
I am having a problem related with PV and PVC and I really do not know how to fix it. Could someone give some insight about it?
Github -> https://github.com/Sarony11/wordpress-k8s/tree/main/k8s
Files:
wordpress-pv.yaml (added after…

Saul Fernandez
- 21
- 4
0
votes
1 answer
Skaffold and microk8s -- getting started -- x509: certificate signed by unknown authority
Try to get started with skaffold, hitting lots of issues. So I went back to basics and tried to get the examples running:
cloned https://github.com/GoogleContainerTools/skaffold
ran cd ~/git/skaffold/examples/getting-started/ and then tried to get…

Ali W
- 366
- 2
- 7
0
votes
1 answer
Microk8s + metallb + ingress
Im quite new to kubernetes and Im trying to set up a microk8s test environment on a VPS with CentOS.
What I did:
I set up the cluster, enabled the ingress and metallb
microk8s enable ingress
microk8s enable metallb
Exposed the ingress-controller…

Green
- 376
- 5
- 15
0
votes
2 answers
where to place yaml bash command
I am experimenting with the above mentioned tools right now and ran into some issues.
I cannot forward my ports, because it seems like I am having some problems with the ip-tables
of my pod.
"sudo iptables -P FORWARD ACCEPT" is supposed to get rid…

Calumeth
- 1
- 1
0
votes
1 answer
invalid capacity 0 on image filesystem - Not ZFS
When running microk8s.kubectl describe node ubuntu I am getting the following error
Warning InvalidDiskCapacity 2m54s kubelet invalid capacity 0 on image filesystem
Normal Starting 2m54s kubelet Starting kubelet.
…

etrey
- 447
- 3
- 6
- 15
0
votes
1 answer
Why I cannot deploy charts in microk8s controller but I can do it in LXD
I am learning Juju which I feel its amazing, but having problems as usual and very little around to find people who explain how it works. I hope any of you can guide me.
Question: deploying charts only works in LXD controller. In microk8s does not…

Saul Fernandez
- 21
- 4
0
votes
1 answer
Benefits for creating k8s deployment of Folding@Home for Raspberry Pi cluster?
I have recently made a Folding@Home arm64 container image for Docker type deployment, and now I want to acheive the goal of deploying Folding@Home to a microk8s cluster on my Raspberry Pis.
However, I noticed the microk8s itself uses a lot of CPU…

beastob
- 1
0
votes
0 answers
Kubernetes, Traefik load balancer with sticky session server unreachable for a few seconds during rolling update
When releasing an update, it all works fine (pods are destroyed one by one and the new version fired up), but if I refresh the website during a rolling update sometime I get a server unreachable error. I guess it is due to the fact the load balancer…

Sugafree
- 631
- 2
- 14
- 30