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
"store.RevisionNotAvailable" error while installing a package with Snapcraft
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
Does anyone know what is causing this error and how…

kedanek
- 333
- 1
- 10
1
vote
0 answers
Issue with importing image to microk8s
Rarely when importing a docker tar file to the microk8s using the command below It looks like the command finished successfully but the image was not imported, it happened twice on two different servers. when rerun the same command the image is…

Nimrod
- 43
- 4
1
vote
2 answers
Kubernetes - How to get Service Name of a Pod Aligned to
I would like to know, how to find service name from the Pod Name in Kubernetes.
Can you guys suggest ?

Big Bansal
- 73
- 2
- 7
1
vote
1 answer
Microk8s stopped working. Status says not running, inspect just returns four services
Two of my microk8s clusters running version 1.21 just stopped working.
kubectl locally returns The connection to the server 127.0.0.1:16443 was refused - did you specify the right host or port?
microk8s.status says not running, and microk8s.inspect…

Anders Bornholm
- 1,326
- 7
- 18
1
vote
0 answers
Problem executing spark on kubernetes - acess Minio s3a endpoint - Executor lost due to .jar file
guys!
I'm having a problem when trying to execue a spark job on kubernetes (using k8s spark-operator). I'm trying to access a local minio bucket using s3a endpoint. My code work locally but when I try to kubectl apply -f .yaml to start the cluster,…

Arthur Cesarino
- 11
- 1
1
vote
2 answers
Does microk8s allow pulling from insecure registry?
For docker pull we can do something like the following so it can pull from a local registry by running docker pull localhost:32000/hello:latest.
{
"insecure-registries" : [
"localhost:32000"
]
}
Is there similar config can be done, such…

jack2684
- 324
- 3
- 15
1
vote
3 answers
Ingress on self-hosted Kubernetes on custom interface
I would like to deploy an ngingx-ingress controller on my self-hosted Kubernetes (microk8s) that is configurable to listen on one or more interfaces (external IPs).
Not even sure if that is easily possible and I should just switch to an external…

brainwash
- 690
- 5
- 19
1
vote
1 answer
How to deploy Mongodb replicaset on microk8s cluster
I'm trying to deploy a Mongodb ReplicaSet on microk8s cluster. I have installed a VM running on Ubuntu 20.04. After the deployment, the mongo pods do not run but crash. I've enabled microk8s storage, dns and rbac add-ons but still the same problem…

van
- 77
- 1
- 6
1
vote
1 answer
Mounting local docker volume to kubernetes pod
I am trying to start a postgres pod on microk8s kubernetes cluster. At the moment the postgres container with all its data is started locally on the host machine.
The question is: Is it possible to map the current volume (from local docker volume )…

LexByte
- 382
- 4
- 15
1
vote
1 answer
Kubernetes pods can't access the internet while host can
I'm using a Microk8s setup with the following configuration -
deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: jenkins
labels:
app: jenkins
spec:
selector:
matchLabels:
app: jenkins
replicas: 1
strategy:
…

Yahm Levi Firseck
- 31
- 1
- 7
1
vote
0 answers
How to enable JupyterHub in MicroK8s's Kubeflow?
a kubeflow user beginner here.
I'm following a tutorial on how to setup Kubeflow in a Ubuntu (VM) on my personal laptop using this tutorial: kubeflow-on-microk8s. The problem is, when I'm trying to access JupyterHub under the menu "Notebooks" an…

wahyuagungs
- 77
- 8
1
vote
1 answer
Ingress rule using host
Can someone please help to spot the issue with ingress-2 ingress rule? why ingress-1 is working vs ingress-2 is not working.
Description of my setup, I have two deployments:
1st deployment is of nginx
2nd deployment is of httpd
Both of the…

monk
- 1,953
- 3
- 21
- 41
1
vote
2 answers
Pod redeploy trigger in golang k8s client
How can I trigger the update (redeploy) of the hearth through the k8s golang client.
At the moment, I use these libraries to get information about pods and namespaces:
v1…

mide
- 23
- 3
1
vote
1 answer
Default-scheduler 0/1 nodes are available: 1 node(s) didn't find available persistent volumes to bind
I am trying to create some persistent space for my Microk8s kubernetes project, but without success so far.
What I've done so far is:
1st. I have created a PV with the following yaml:
apiVersion: v1
kind: PersistentVolume
metadata:
name:…

Alex
- 1,571
- 3
- 13
- 16
1
vote
0 answers
Accessing microk8s API for cluster behind router
I have a microk8s cluster composed of several Raspberry Pi 4, behind a Linksys router.
My computer and the cluster router are connected on my ISP router, and are respectively 192.168.0.10 & 192.168.0.2.
The cluster's subnet is composed of the…

Ben
- 56
- 1
- 6