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
1 answer

Ingress - simple fanout configuration not working

I'm using Ubuntu 20.04.2 LTS. I installed microk8s 1.20.6 rev 2143 and experimenting with ingress. I must be missing something - but it doesn't work as I expect it to. I tracked the strange behavior down to the following…
2
votes
1 answer

How to update helm3 in microk8s?

I have this helm3 version: microk8s helm3 version version.BuildInfo{Version:"v3.0.2", GitCommit:"19e47ee3283ae98139d98460de796c1be1e3975f", GitTreeState:"clean", GoVersion:"go1.13.5"} How can I update to a new version?
xRobot
  • 25,579
  • 69
  • 184
  • 304
2
votes
1 answer

How to find the currently installed channel for microk8s

microk8s has been installed on an ubuntu machine. What is the command line to find the currently installed channel?
Phillip Ngan
  • 15,482
  • 8
  • 63
  • 79
2
votes
0 answers

How to access a machine in my network from microk8s deployments

I have some pods running in microk8s and they need to access a machine outside the cluster and inside my local network. The problem is they can't access it even using the IP address. Example: In the host itself I can use "curl " and get the…
2
votes
1 answer

microk8s-hostpath does not create PV for a claim

I am trying to use Microk8s storage addon but my PVC and pod are stuck at pending and I don't know what is wrong. I am also using the "registry" addon which uses the storage and that one works without a problem. FYI: I already restarted the microk8s…
AVarf
  • 4,481
  • 9
  • 47
  • 74
2
votes
1 answer

microk8s pods are restarting frequently on my raspberry pi ubuntu

I have installed an 64bit ubuntu on my raspberry pi 4 and it seems to me that each pod restarts frequenty: microk8s.kubectl describe pod redis-c49fd5d65-g8ghn Name: redis-c49fd5d65-g8ghn Namespace: default Priority: 0 Node: …
Dániel Kis
  • 2,341
  • 5
  • 28
  • 51
2
votes
1 answer

skaffold and microk8s -- container server is waiting to start: can't be pulled

I'm hitting this error on a unbuntu 20.04 installation, with microk8s and skaffold. container server is waiting to start: aliwatters/dkc-multi-server:7b9b7d87ab81483cdb9b1227780d68dec815fe271aea2f9fe3a0e65090d90909 can't be pulled I'm logged into…
Ali W
  • 366
  • 2
  • 7
2
votes
2 answers

No external DNS requests are being resolved inside Kubernetes cluster

In my pods I cannot reach external hosts. In my case this would be https://login.microsoftonline.com. I've been following the debugging DNS problems section on https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/, but the…
Marco
  • 22,856
  • 9
  • 75
  • 124
2
votes
2 answers

microk8s install problem "cni plugin not initialized"

Upgraded to PC to ubuntu 20.04 and having problems re-installing microk8s (1.19 and 1.20 have the same issue on my PC). starting fresh to demo problem snap remove microk8s Following instructions on Install MicroK8s sudo snap install microk8s…
grabbag
  • 980
  • 1
  • 15
  • 33
2
votes
0 answers

Microk8s bare-metal kubernetes server loadbalancer and ingress routing issue

I have the installed latest microk8s and enabled nginx-ingress and metallb addons I have everything configured and works well, but I can't seem to get to connect traffic between: x-ingress-ingress-nginx-controller service NAME …
2
votes
3 answers

Rancher's helm-operations fail

I've installed fresh rancher on microk8s using helm3 and there are helm operations failing periodically. I am rather clueless as where to have a look for what. Could you please point me in the right direction? Waiting for Kubernetes API to be…
user411245
  • 21
  • 1
  • 2
2
votes
1 answer

How to configure microk8s kubernetes to use private container's in https://hub.docker.com/?

microk8s document "Working with a private registry" leaves me unsure what to do. The Secure registry portion says Kubernetes does it one way (no indicating whether or not Kubernetes' way applies to microk8), and microk8s uses containerd inside its…
grabbag
  • 980
  • 1
  • 15
  • 33
2
votes
0 answers

[microk8s][gitlab-runner][helm] slow connection / connection failed on apt-get update in docker build

Chart.yaml - name: gitlab-runner version: 0.21.1 repository: https://charts.gitlab.io/ values.yaml gitlab-runner: gitlabUrl: 'xxx' runnerRegistrationToken: 'xxx' runners: privileged: true env: DOCKER_HOST:…
kilar
  • 95
  • 2
  • 8
2
votes
0 answers

Submitting a pipeline to microk8s.kubeflow, using kfp.Client python api

I installed microk8s and is working. I can upload and run a pipeline using the UI. Now I installed kfp python api (issues exist with the cli too) and I'm trying to submit a pipeline using the cli. Here is the api for the client function: def…
Hamid
  • 59
  • 2
2
votes
0 answers

How to recover from force deleted pod in Kubernetes?

I had to force delete a pod because it was stuck terminating for multiple days. The pod now won't come back. -> % k -n kube-system rollout status deployment coredns Waiting for deployment "coredns" rollout to finish: 0 out of 1 new replicas have…
digital
  • 2,079
  • 3
  • 25
  • 35