Questions tagged [microk8s]

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.

415 questions
2
votes
3 answers

Getting "x509: certificate signed by unknown authority" by microk8s

I would like to use microk8s with private registry, but pull image is not working (I'm using self-signed cert): root@master-1:/var/snap/microk8s/common/var/lib/containerd# microk8s.ctr --debug images pull…
Zili
  • 455
  • 2
  • 4
  • 10
2
votes
2 answers

Cannot access Microk8s service from browser using NodePort service

I installed microk8s on my ubuntu machine based on steps here https://ubuntu.com/kubernetes/install#single-node Then I followed kubernetes official tutorial and created and exposed a deployment like this microk8s.kubectl create deployment…
AMendis
  • 1,346
  • 4
  • 18
  • 34
2
votes
1 answer

How to list microk8s' containers with microk8s.ctr

I created a microk8s cluster, pods could be listed by get pod command: ubuntu@ip-172-31-16-34:~$ microk8s.kubectl get pod --all-namespaces NAMESPACE NAME READY STATUS RESTARTS AGE kube-system …
qrtt1
  • 7,746
  • 8
  • 42
  • 62
2
votes
1 answer

Accessing Kubelet API Microk8s

I want to ask how to access Kubelet API from microk8s cluster. I looked to this url and it says that Kubelet API requires client certificate. So I called this (from /var/snap/microk8s/current/certs) curl -v https://127.0.0.1:10250 --cert ca.crt…
jsishere
  • 78
  • 1
  • 8
2
votes
1 answer

Push docker image to registry installed using microk8s addon

I am running multinode k8s cluster on my workstation. I have created the VM's using multipass. K8s cluster is deployed using microk8s. Microk8s provides private registry as a addon. It is providing 32000 as node port for the registry. I would like…
piby180
  • 388
  • 1
  • 6
  • 18
2
votes
1 answer

ArangoDB won't run on MicroK8s

Deploying ArangoDB to a MicroK8s cluster results in: $ kubectl logs -f dbgraph-64c6fd9b84-chqkm automatically choosing storage engine Initializing database...Hang on... ArangoDB didn't start correctly during init cat: can't open '/tmp/init-log': No…
Bjorn Thor Jonsson
  • 827
  • 1
  • 10
  • 21
2
votes
2 answers

Microk8s cannot pull from private registry

I'm running Microk8s on an EC2 instance. I fail to pull containers from our private registry. When trying to run such a container kubectl describe pod shows: Failed to pull image "docker.xxx.com/import:v1": rpc error: code = Unknown desc = failed…
Achim
  • 15,415
  • 15
  • 80
  • 144
2
votes
1 answer

How to access pgsql from pgadmin on kubernetes

I am playing with kubenetes. I have created a StatefulSet running postgresql. I have created a service with ClusterIP: None. I have launched a pod with pgadmin4. I can get to pgadmin from my browser. When I try to get to my pgsql server from…
Phillip Scott Givens
  • 5,256
  • 4
  • 32
  • 54
2
votes
1 answer

k8s create rc and pods automatically in default namespace

My k8s's default namespace add an rc i din't know, it starts 10 pods automatically. and i don't know why. My k8s version is: kubectl version Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.6",…
user8645601
  • 97
  • 1
  • 7
2
votes
1 answer

problems with the "alpine" image for my initContainers

People, I am trying to create a simple file /tmp/tarte.test with initContainers. I have a constraint, using an alpine image for the container. Please let me know what is NOT in this simple yaml file. apiVersion: v1 kind: Pod metadata: name:…
manzion_111
  • 139
  • 1
  • 1
  • 7
1
vote
0 answers

Why does my microk8s AdGuard Home container need to be reconfigured every time it shuts down?

I'm having experiencing an issue with my AGH pod where it has to be reconfigured every time the container shuts down; be it manually, or at server restart. These are the various YAMLs: Namespace --- apiVersion: v1 kind: Namespace metadata: name:…
telometto
  • 111
  • 5
1
vote
0 answers

Couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request - Microk8s

Previously I had Microk8s cluster which was on Kubernetes 1.24 version. Recently I have upgraded the Kubernetes version to 1.26. And also, I'm using Metrics-server through Microk8s addons. In the earlier K8s version i didn't get the below error but…
1
vote
1 answer

Unable to connect to Microk8s cluster built on OCI VM with kubectl

As the title says, I am unable to connect to a Microk8s cluster built on an OCI VM with the kubectl command from local Mac laptop. Please let me know if you know more about this. environmental…
1
vote
1 answer

How to prevent low resource disaster

When low on resources kubernetes starts to re-create pods but newer pods also fail, so they keep growing in number. The cluster becomes unusable. This seems an illogical behaviour. Is it possible to prevent it ? Is it possible to recover without…
noname7619
  • 3,370
  • 3
  • 21
  • 26
1
vote
1 answer

How to fix Helm "installation failed" complaning about a nil pointer evaluating interface on fullnameOverride

I am building a new Helm chart (mychart) that I'm trying to install. A values.yaml exists and its contents specify the fullnameOverride: fullnameOverride: "myapp" I run the following command helm install --dry-run -f "mychart-stack/values.yaml"…
Micaël Félix
  • 2,697
  • 5
  • 34
  • 46