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
0
votes
0 answers

cert-manager.io: no certificate issued

I am working on setting up an ingress-controller for my microk8s setup. Minimal whoami-service is up and running: microk8s kubectl describe service whoami Name: whoami Namespace: default Labels: Annotations: …
petwri
  • 553
  • 1
  • 4
  • 11
0
votes
1 answer

Gitea: dial tcp: lookup gitea-postgresql.default.svc.cluster.local

I see this error when trying to use Gitea with microk8s on Ubuntu 21.10: $ k logs gitea-0 -c configure-gitea Wait for database to become avialable... gitea-postgresql (10.152.183.227:5432) open ... 2021/11/20 05:49:40…
Nathan Sowatskey
  • 151
  • 1
  • 11
0
votes
1 answer

How to retrieve SCDF apps metadata through Docker Labels with local containerd registry?

I'm working with SCDF 2.9.1 on microk8s in dev mode and I'm not able to see my apps metadata in SCDF dashboard. A docker inspect shows the right labels : The Docker image is pushed to containerd local registry : localhost:32000. I tried to add the…
CEDDM
  • 19
  • 5
0
votes
1 answer

Accessing an external InfluxDb Database from a microk8s pod using selectorless service and manual endpoint?

Gist: I am struggling to get a pod to connect to a service outside the cluster. Basically the pod manages to resolve the ClusterIp of the selectorless service, but traffic does not go through. Traffic does go through if i hit the ClusterIp of the…
takilara
  • 108
  • 6
0
votes
0 answers

Windows pods unable to resolve DNS and/or communicate with Linux Pods within K8s cluster

I've been encountering few major issues with my K8s cluster: Windows pods running on my Windows nodes are unable to communicate (internally within the cluster) with my linux pods or services. BUT my Linux pods are able to communicate with my…
wtfacoconut
  • 334
  • 1
  • 8
0
votes
1 answer

Microk8s Ingress returns 502

I'm new at Kubernetes and trying to do a simple project to connect MySQL and PhpMyAdmin using Kubernetes on my Ubuntu 20.04. I created the components needed and here is the components. mysql.yaml apiVersion: apps/v1 kind: Deployment metadata: …
felixbmmm
  • 362
  • 3
  • 13
0
votes
1 answer

Connect to CoreDNS pod in microk8s

For some troubleshooting, I want to connect to my coredns pod. Is this possible? $ microk8s kubectl get pod --namespace kube-system NAME READY STATUS RESTARTS AGE hostpath-provisioner-5c65fbdb4f-w6fmn …
Thagor
  • 820
  • 2
  • 10
  • 33
0
votes
1 answer

Single node Microk8s multus master interface cannot be reached

I have a single node Microk8s with calico. I have deployed Multus sucessfully and I can create PODs with the 2nd network interface created succesfuly in the pod because can see the interfaces and the IP address correctly assigned. The pods can reach…
van
  • 77
  • 1
  • 6
0
votes
2 answers

Microk8s trouble launching local docker image

I'm using the latest version of microk8s and docker on the same VM. microk8s registry is enabled. I restaged my image argus $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE argus 0.1 …
Thagor
  • 820
  • 2
  • 10
  • 33
0
votes
1 answer

how to increase ideal timeout in "k8s exec -ti pod --bash" command

In K8s, I am getting logged-out from the bash after 15 seconds, Is there any way to increase this ideal timeout. Kite@xxx-qa-n01:/deployment$ time kubectl exec -ti elasticsearch-0 -n pprod -- bash [elasticsearch@elasticsearch-0 ~]$ real …
user87005
  • 964
  • 3
  • 10
  • 27
0
votes
2 answers

Kubernetes apply command produces 'wrong encoding error'

I'm trying to execute: microk8s kubectl apply -f deployment.yaml and I am always getting: error: string field contains invalid UTF-8 No matter which file and string as a file path parameter I'm trying to use. Even if I execute: microk8s kubectl…
0
votes
1 answer

not load secret in k8s

I am learning to use k8s and I have a problem. I have been able to perform several deployments with the same yml without problems. My problem is that when I mount the secret volume it loads me the directory with the variables but it does not detect…
0
votes
1 answer

Deploy Jenkins on micro8s cluster on raspberry pi

I have a local setup of three raspberry pi's and followed the tutorial on here. I managed to get my microk8s cluster running. Next I wanted to deploy Jenkins. Whenever I execute the first command: kubectl create -f jenkins-deployment.yaml -n…
greedsin
  • 1,252
  • 1
  • 24
  • 49
0
votes
2 answers

Connect to Azure container registry from microk8s

I am trying to pull images from my azure container registry sudo microk8s ctr --debug images pull redacted.azurecr.io/acs/service:2.24.2 but I keep getting this error: ctr: failed to resolve reference "redacted.azurecr.io/acs/service:2.24.2":…
brechtvhb
  • 1,029
  • 2
  • 13
  • 26
0
votes
1 answer

Python/Pod cannot reach the internet

I'm using python3 with microk8s to develop a simple web service. The service is working properly (with docker in my local development machine), but the production machine (Ubuntu18.04 LTS with microk8s in Azure) cannot reach the internet (SMTP/Web…
KensonMan
  • 45
  • 1
  • 5