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

Kubernetes - Ingress - caught by a more general rule

I'm trying to set up an Ingress rule for a service (Kibana) running in my microk8s cluster but I'm having some problems. The first rule set up is Name: web-ingress Namespace: default Address: 127.0.0.1 Default backend: …
lovrodoe
  • 473
  • 8
  • 18
1
vote
1 answer

how to resolve micok8s port forwarding error on vagrant VMs?

have a 2 node microk8s cluster running on 2 Vagrant VMs (Ubuntu 20.04). trying to forward port forward 443 from host so I can connect to dashboard from the host PC over the private VM network. sudo microk8s kubectl port-forward -n kube-system…
50missionCap
  • 75
  • 1
  • 6
1
vote
1 answer

Ingress cannot expose the service

I'm using the microk8s with default ingress addons. $ microk8s enable ingress Addon ingress is already enabled. $ microk8s status microk8s is running high-availability: no datastore master nodes: 127.0.0.1:19001 datastore standby nodes:…
KensonMan
  • 45
  • 1
  • 5
1
vote
1 answer

microk8s ingress results in operation time out

Why is the connection refused each time I try to connect to a nodeport exposed service on MicroK8s? Here is the following deployment, service and ingress: --- apiVersion: apps/v1 kind: Deployment metadata: name: nginx labels: app:…
1
vote
1 answer

Microk8s Hostpath FS Usage of PVC

I am trying to monitor filesystem usage for pods in k8s. I am using Kubernetes (microk8s) and hostpath persistent volumes. I am running Kafka along with a number of producers to see what happens when I go past the PVC size limit among other things.…
1
vote
2 answers

Airflow KubernetesPodOperator times out on local MicroK8s

I am trying to spin up a testing Pod with the KubernetesPodOperator. As an image I am using the hello-world example from Docker, which I pushed to the local registry of my MicroK8s installation. from airflow import DAG from…
Lorenz
  • 123
  • 1
  • 9
1
vote
1 answer

Create a new /dev/sd{b,c,d} on WSL for Ceph

I'm trying to run Ceph on (micro)K8s which running on my Ubuntu WSL distory. OSD pods are not being created because there is no supported device is available (see logs below). Ceph is configured to UseAllDevices which you can see it searching for…
a11hard
  • 1,904
  • 4
  • 19
  • 41
1
vote
1 answer

Pod deployed over GitHub Repository by JKube causes 401 while deploying in MicroK8

I am trying installing a simple Spring Boot application by JKube on a microk8s cluster. As remote private docker repository I am using GitHub Packages (beta). While the microk8s is getting the pod, he unsuccessfully tries to deploy it and brings out…
1
vote
1 answer

Not able to deploy a Spring Boot Helloworld application on MicroK8s cluster using jkube plugin

I have a very simple Spring Boot Helloworld application that displays Hello World! message using a REST API. I would like to deploy that application on my Ubuntu node which has MicroK8s installed. Steps Followed: git clone…
Nital
  • 5,784
  • 26
  • 103
  • 195
1
vote
0 answers

Helm service not deploying to Microk8s

I'm trying to deploy a service I created to kubernetes using Helm. Helm's telling me it's deploying but a "get pods" doesn't show me any pod deployed. As you can see below postgres is getting deployed, so this isn't an issue with my helm/k8s setup.…
1
vote
1 answer

NGINX Ingress to Microk8s Bare metal cluster not working as expected

First a little background: We currently have several websites and services hosted on a Plesk server and I am setting up a bare-metal development server to provide an area where we can test updates, etc. before going to production. I am using a 3…
1
vote
1 answer

Kubeflow could not be enabled: mutatingwebhookconfigurations.admissionregistration.k8s.io "katib-mutating-webhook-config" not found

I have installed microk8s on Windows using the installer. I have enabled some services with microk8s enable dashboard dns registry. But when I try to enable kubeflow I get the following error: C:\Users\biogeek>microk8s enable kubeflow Enabling…
BioGeek
  • 21,897
  • 23
  • 83
  • 145
1
vote
1 answer

microk8s containerd - failed to reserve sandbox name

Have microk8s running on two nodes. Recently it got into a state where the master node fails to go into Ready status because microk8s.daemon-containerd service fails to start. This started happening after trying to get cert-manager configuration…
Going Bananas
  • 2,265
  • 3
  • 43
  • 83
1
vote
1 answer

Kubernetes ingress controller

I'm working with microk8s using Kubernetes 1.19. The provided ingress.yaml does not work. Given my troubleshooting below, it seems like ngnix cannot connect to the default-http-backend. Microk8s was installed on a ubuntu 20.04 using snap. I know…
1
vote
1 answer

How to configure Spring Cloud Data Flow to execute tasks in a separate namespace per task?

I am using Spring Cloud Data Flow to orchestrate the execution of tasks applications, and need to run each task app in it's dedicated namespace with it's own resource quota (some may be Guaranteed and some Burstable). Following the guide at Spring…