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
2 answers

k8s readiness probes working in GKE, not in Microk8s (on MacOS)

I have a Kong deployment. apiVersion: apps/v1 kind: Deployment metadata: name: local-test-kong labels: app: local-test-kong spec: replicas: 1 selector: matchLabels: app: local-test-kong strategy: rollingUpdate: …
Rakib
  • 12,376
  • 16
  • 77
  • 113
2
votes
0 answers

Microk8s pod no internet

A microk8s is installed on Ubuntu 20.04. I did microk8s enable dns. Although the server has internet, I do not have access to the internet through the pods. What should I look for, what is the solution?
2
votes
1 answer

Microk8s join the host name of the joining node does not resolve to the IP Refusing join (400)

I tried to use microk8s add-node in first machine. and second machine, I tried to microk8s join <>:<>/<> --worker but it returns this: the host name of the joining node does not resolve to the IP Refusing join (400)
nobody1879
  • 41
  • 4
2
votes
1 answer

Ingress Nginx vs Nginx deployment in kubernetes

i am confused about Nginx Ingress vs Nginx deployment(container) in kubernetes since both are controlling incomming requests to the cluster let say i am deploying a web app container and nginx container in one pod and all works perfectly if i deploy…
Yassine Chilali
  • 377
  • 4
  • 9
2
votes
0 answers

Microk8s mysql mysql.sock not found error?

I'm trying to build a mysql on microk8s. I get the following error when I connect to the nfs server or not. Although I have given the permissions of the file directories (chmod -R 777 .) on the nfs server and also on the local, I can't get rid of…
2
votes
1 answer

Centos 8 microk8s Readiness probe failed: HTTP probe failed with statuscode: 503

I have installed microk8s on my centos 8 operating system. kube-system coredns-7f9c69c78c-lxm7c 0/1 Running 1 18m kube-system calico-node-thhp8 1/1 Running 1 …
2
votes
0 answers

External access to the kubernetes dashboard (or any other app) that is on a physical cluster using microk8s

I am attempting to access the dashboard from my laptop on the LAN The Cluster is on three Raspberry PIs kubectl describe service/kubernetes-dashboard -n kube-system produces the following Name: kubernetes-dashboard Namespace: …
Keith
  • 31
  • 7
2
votes
1 answer

Using helm and a Kubernetes Cluster with Microk8s on one or two local physical Ubuntu server

I installed Microk8s on a local physical Ubuntu 20-04 server (without a GUI): microk8s status --wait-ready microk8s is running high-availability: no datastore master nodes: 127.0.0.1:19001 datastore standby nodes: none addons: enabled: …
SQL-Neuling
  • 1,751
  • 2
  • 11
  • 5
2
votes
1 answer

Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it. -Microk8s

When i do this command kubectl get pods --all-namespaces I get this Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it. All of my pods are running and ready…
2
votes
2 answers

Minio deployment in Microk8s does not start properly

I'm trying to deploy a Minio instance (not the operator) on a kubernetes server (Microk8s) using the helm chart provided in https://github.com/minio/minio/tree/master/helm/minio. To match with my test server, I did some modifications : The number…
2
votes
1 answer

microk8s not running after installation

I want to install kubeflow using microk8s on kubernetes cluster, but I faced a problem with microk8s. I already install microk8s using this link. So, when I tried to see the status on microk8s, it was said not running microk8s is not running. Use…
MADFROST
  • 1,043
  • 2
  • 11
  • 29
2
votes
1 answer

Microk8s fails to AUTOMATICALLY mount pod on Longhorn

I have a single node kubernetes setup on Ubuntu 20.04. Am using microk8s and longhorn storage for my single node cluster. I install packages using Helm via Lens IDE. I have configured everything as per the respective guides but anytime I install a…
wwmwabini
  • 75
  • 6
2
votes
0 answers

Kubeflow dashboard returns 403 Forbidden

I have a problem with Kubeflow Dashboard. Until now I could connect to the dashboard without problems, but after a restart of the PC it gives me forbidden when I try to connect from my browser to http://10.64.140.43.nip.io (this is the url received…
2
votes
0 answers

How to setup ExternalDNS on Microk8s cluster?

I have a Highly Available, 3 nods, Microk8s cluster with MetalLB and Ingress. The cluster is supposed to serve a website with high availability. I want to enable ExternalDNS for the website with the domain currently on Cloudflare (but I’m open to…
Rojan Gh.
  • 1,062
  • 1
  • 9
  • 32
2
votes
1 answer

How to deploy to a VM running a microk8s cluster with kubectl?

I have a Windows 10 machine running a Hyper-V virtual machine with Ubuntu guest. On Ubuntu, there is a Microk8s installation for my single node Kubernetes cluster. I can't figure out how to set up my kubectl on the Win10 to allow deploying on the…