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

How to access hosts in my network from microk8s deployment pods

I am trying to access a host that sits in another server (but on my network) from inside the pod of deployment and I am using microk8s. The thing is that on the server where I have microk8s installed I can easily ping it by ping…
Ertan Hasani
  • 1,675
  • 12
  • 27
4
votes
1 answer

Permission problem w/ helm3 installation of traefik on port 80 (hostNetwork)

I'm studying helm3 and k8s (microk8s). While tryingi the following command: helm install traefik traefik/traefik -n traefik --values traefik-values.yaml and traefik-values.yaml has the following value: additionalArguments: -…
Alessandro Dentella
  • 1,250
  • 2
  • 16
  • 30
4
votes
4 answers

helm3 / function "lookup" not defined

I recently installed microk8s, and enabled helm3 and dns addons on microk8s. Deployment from stable/chart works fine but any deployment from bitnami/chart fails. OS: Ubuntu 20.04.1 LTS -- microk8s: 1.19/stable microk8s.helm3 install my-release…
gharbi.bdr
  • 147
  • 2
  • 9
4
votes
2 answers

Microk8s remote with kubectl: You must be logged in to the server (Unauthorized)

I'm trying to connect to microk8s cluster from remote host using kubectl kubectl config view result: apiVersion: v1 clusters: - cluster: insecure-skip-tls-verify: true server: https://ip:16443 name: microk8s-cluster contexts: - context: …
Alexander Karp
  • 328
  • 1
  • 5
  • 20
4
votes
1 answer

microk8s image pull keeps breaking

I am running microk8s v1.18.8 rev 1609 from 1.18/stable. Several times I have got my deployments up and running perfectly (as far as I can tell). The images pull from localhost:32000. I have gone through many rounds of updating the deployments and…
Bradley
  • 53
  • 5
4
votes
1 answer

microk8s + ingress: ingressed service always resolves to 127.0.0.1 and not pod ip

I am learning about microk8s and how ingress works. I have a single node microk8s (v1.18.4) with the following add-ons: DNS, ingress, RBAC, storage I am trying to get it working with the microbot example. I've read (and reread) through the tutorial…
user1867377
  • 43
  • 1
  • 4
4
votes
2 answers

Helm stable/airflow - Custom values for Airflow deployment with Shared Persistent Volume using Helm chart failing

Objective I want to deploy Airflow on Kubernetes where pods have access to the same DAGs, in a Shared Persistent Volume. According to the documentation…
NumesSanguis
  • 5,832
  • 6
  • 41
  • 76
4
votes
0 answers

microk8s untrusted dashboard - how to verifiy certificate

I am trying out microk8s following this I am getting a certificate error when browsing the dashboard(multipass ls - ip address) I guess I need to copy and verify kuberneters certificate from multipass host(macos) on macos keychain?
Chris G.
  • 23,930
  • 48
  • 177
  • 302
4
votes
1 answer

How to change the default port of microk8s?

Microk8s is installed on default port 16443. I want to change it to 6443. I am using Ubuntu 16.04. I have installed microk8s using snapd and conjure-up. None of the following options I have tried worked. Tried to edit the port in…
Srinivasa Rao
  • 55
  • 1
  • 8
3
votes
1 answer

Can't get microk8s running on my Ubuntu 22.04

As the title says, I am unable to start microk8s on Ubuntu 22.04. I have done the following: sudo snap install microk8s --classic --channel=1.17/stable Result: microk8s (1.17/stable) v1.17.17 from Canonical✓…
3
votes
1 answer

How can I detect CNI type/version in Kubernetes cluster?

Is there a Kubectl command or config map in the cluster that can help me find what CNI is being used?
YoMar
  • 41
  • 2
3
votes
1 answer

microk8s offline installation failed with timeout

Followed the instruction from https://microk8s.io/docs/install-alternatives#heading--offline, with the virtual network interface. On Ubuntu 20.04 Running the install command including --classic sudo snap install microk8s_3021.snap --classic Getting…
Nimrod
  • 43
  • 4
3
votes
2 answers

Client-side throttling response from kubernetes kubectl command

I have a 3-node ubuntu microk8s installation and it seems to be working ok. All 3 nodes are management nodes. On only one of the nodes, I get an error message and associated delay whenever I use a kubectl command. It looks like this: $ time…
AlanObject
  • 9,613
  • 19
  • 86
  • 142
3
votes
1 answer

Kubernetes Ingress headers single quotes

I am running into a very strange issue, I cannot set single quotes that are required by Content-Security-Policy. I assume I was running an older version of ingress which only got updated after I disabled and re-enabled it (microk8s). …
brainwash
  • 690
  • 5
  • 19
3
votes
1 answer

Failed to move past 1 pod has unbound immediate PersistentVolumeClaims

I am new to Kubernetes, and trying to get apache airflow working using helm charts. After almost a week of struggling, I am nowhere - even to get the one provided in the apache airflow documentation working. I use Pop OS 20.04 and microk8s. When I…
Rhonald
  • 363
  • 5
  • 18