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
1
vote
0 answers

Kubernetes Services does not translate incoming UDP packets from the service port to the targetPort

I'm building a microk8s cluster starting with 3 system nodes, meant to run several applications in containers. Application A in Container A ingests UDP packets through Service A using a NodePort configuration for all of the cluster nodes,…
Alex Marshall
  • 10,162
  • 15
  • 72
  • 117
1
vote
1 answer

MicroK8S pods have no connectivity

No pods in newly created MicroK8S cluster on my Ubuntu have any connectivity, including coredns: $ k logs -f coredns-64c6478b6c-4pdnj -n kube-system ... E0429 07:44:07.522557 1 reflector.go:127]…
sssilver
  • 2,549
  • 3
  • 24
  • 34
1
vote
1 answer

Microk8s Error When Trying to Install Kubeflow

I'm blindly following the installation documentation to get Microk8s installed and configured with kubeflow, but I'm hitting an error like this below: https://charmed-kubeflow.io/docs/quickstart joesan@joesan-InfinityBook-S-14-v5:~$ juju add-model…
joesan
  • 13,963
  • 27
  • 95
  • 232
1
vote
0 answers

Microk8s - LoadBalancer master api server

I have setup a microk8s HA cluster with 3 nodes. Among other things I have also enabled metal lb successfully. How should I configure the api server so that's actually LoadBalanced? microk8s config generates generates a different kubeconfig file for…
1
vote
0 answers

installed Kubeflow - juju bootstrap microk8s error-time out waiting for controller pod

I installed in the official document (https://charmed-kubeflow.io/docs/quickstart) Kubeflow, to perform juju bootstrap microk8s encountered a bug I tried to change the installation of different versions, and encountered the same problem
1
vote
1 answer

kubectl keeps asking for login every command

What happened: We're on AKS with RBAC enabled. Executing any kubectl/helm command that connects to the k8s cluster, I have to reauthenticate. Output: To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code…
1
vote
0 answers

Microk8s on Window11 not install/uninstalling correctly

I am having problems after uninstalling microk8s and reinstalling the software. The first time, it was able to find and establish a connection to Hyper-V which was configured and working nicely. I accidentally uninstalled the software thinking that…
1
vote
2 answers

nginx-ingress stopped working, despite Ready service + pod ("does not have any active Endpoint.")

I have transferred my microk8s setup to a new server and found that the once-working ingress setup my trial setup stopped working. I am running this minimal whoami-app: apiVersion: apps/v1 kind: Deployment metadata: name: whoami namespace:…
1
vote
1 answer

Nginx Ingress gives 404 on microk8s with working service

Running microk8s v1.23.3 on Ubuntu 20.04.4 LTS. I have set up a minimal pod+service: kubectl create deployment whoami --image=containous/whoami --namespace=default This works as expected, curl 10.1.76.4:80 gives the proper reply from whoami. I have…
petwri
  • 553
  • 1
  • 4
  • 11
1
vote
0 answers

Microk8s : Generating Auth Certificates

I'm trying to generate another kubeconfig for a microk8s cluster. For this I chose the certificates approach and I'm using the following script to generate the certificates, create the certificate signing request and populate the kubeconfig…
Andrei Terecoasa
  • 561
  • 2
  • 7
  • 25
1
vote
2 answers

UDP load-balancing with Metallb and Microk8s

I installed MicroK8s on two Ubuntu 20.04 systems. One is assigned as the CP and I joined the second system as a node to the cluster. I am trying to spin up a couple of pods with syslog-ng to consume syslog traffic on port UDP/514. I am generating…
Palezvar
  • 15
  • 2
1
vote
1 answer

How to start an Ingress Controller with flags? (microk8s)

Usually i am able to find most things by searching on the web - however in this case, the instructions on the web talk about - probably very basic stuff that i don't get yet. What i am trying to achieve: i am trying to install argocd, using microk8s…
1
vote
1 answer

Kubernetes (MicroK8S) pod stuck in ContainerCreating state ("Pulling image")

In some cases after a node reboot the Kubernetes cluster managed by MicroK8S cannot start pods. With a describe of the pod failing to be ready I could see that the pod was stuck in a "Pulling image" state during several minutes without any other…
Micaël Félix
  • 2,697
  • 5
  • 34
  • 46
1
vote
1 answer

ingress in microk8s doesnt assigne an ADDRESS

my problem is why ingress doesnt assigne an Address for the services? first of all i create 3 deployments: kubectl create deployment cheddar --image=errm/cheese:cheddar kubectl create deployment stilton --image=errm/cheese:stilton kubectl create…
Ali
  • 922
  • 1
  • 9
  • 24
1
vote
0 answers

PersistentVolumeClaim is not bound in RANCHER - Kubernetes

I am facing a problem when I am trying to install Nexus using Helm in Rancher: The error is the next: creating 4 resource(s) beginning wait for 4 resources with timeout of 10m0s PersistentVolumeClaim is not bound:…