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.
Questions tagged [microk8s]
415 questions
0
votes
0 answers
Exposing UDP port of the DNS service externally
I am having a custom DNS server whose Kubernetes manifest yml looks like below. I am exposing the UDP port 53 using the loadbalancer.
---
apiVersion: v1
kind: Service
metadata:
name: somedns-lb
labels:
k8s-app: somedns
type:…

Vinay Kumar
- 25
- 4
0
votes
0 answers
How can I get the kubectl proxy to the kubernetes dashboard working?
I'm setting up a highly available microk8s cluster on three servers running ubuntu server 20.04.
I enabled the dashboard addon and tried to forward it using the command
kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443
in…

OmegaRogue
- 11
- 1
- 5
0
votes
1 answer
kubernate microk8s dashboard-proxy timed out waiting for the condition on deployments/kubernetes-dashboard
I am having the time out issue while starting up my cluster dashboard with
microk8s dashboard-proxy
This issue occurs again and again in my kubernate cluster. I don't really know the cause of it.
error: timed out waiting for the condition on…

onlyme
- 3,776
- 2
- 23
- 17
0
votes
1 answer
How to search for previous revisions using Microk8s etcd instance?
I'm trying to search previous versions of my secrets inside Microk8s etcd instance but the number of revisions change everytime I refresh my screen and I don't know why.
When I try to access an older version I get the error below:
etcdctl…

Kaleby Cadorin
- 179
- 2
- 13
0
votes
1 answer
k8s - pod can ping external ip, but cannot wget?
Running a clean install of microk8s 1.19 on Fedora 32, I am able to ping an external IP address, but when I try to wget, I get "no route to host" (this is the output of commands run from a busybox pod):
/ # wget x.x.x.x
Connecting to x.x.x.x…

JDS
- 153
- 9
0
votes
1 answer
Istio Multicluster between Microk8s (on GCE instance) and GKE custer
I'm trying to setup Istio 1.7 MultiCluster between Microk8s 1.18/Stable that is installed on Ubuntu 18.04 instance in Google Compute Engine and a GKE cluster.
Everything is ok with GKE part. But I have a question regarding istio-ingressgateway on…

Pavel Karpenka
- 21
- 2
0
votes
1 answer
MERN app in microk8s kubernetes with ingress, page does not display
I have a Mongo, Express, React Node app that is currently deployed in a microk8s pod. I am trying to setup Ingress for the app. The express server is setup to serve the react with express.static like below
…

Jacob Peterson
- 15
- 3
0
votes
0 answers
Separate Service for same Statefulset replica pods
I have a simple Statefulset with 3 replicas/pods.
the pg-master-0 is the actual master and the rest (pg-master-1 and pg-master2) are standby servers or slaves.
Please ignore the naming i'll be working on that soon
So I have 2 Services
Question :…

Jayson Gonzaga
- 140
- 1
- 4
- 11
0
votes
1 answer
Share data between Local and Docker container in Kubernetes
I was successfully able to share data between a docker container and host using
docker run -it -v /path/to/host/folder:/container/path image-name
Now I am trying to run this docker image through a Kubernetes cronjob every minute for which my yaml…

nishant26900
- 28
- 3
0
votes
0 answers
How to notify pod(s) about the ip address of other replica pods
I'm trying to build a custom postgres master and slave setup in Kubernetes.
However, as part of streaming configuration of the master I have to register the slave's IP address.
echo "host replication replica $IP_SLAVE/24 md5" >>…

Jayson Gonzaga
- 140
- 1
- 4
- 11
0
votes
0 answers
The application running on Docker-Compose does not work on k8s
I am using the docker-compose below. It works stably.
but i get error in kubernetes.
docker-compose.yaml
version: "3.3"
services:
test:
image: docker.local/test/test:1.0
container_name: test
environment:
RUN_USER: test
…

public_html
- 309
- 1
- 4
- 10
0
votes
1 answer
Unable to reach the Application UI deployed on a Kubernetes system
I have deployed a gerrit container and exposed the ports but unable to reach the UI.
This is deployed on microk8s on AWS. I'm not using ingress
The Image is an official image from the docker hub.
https://hub.docker.com/r/k8sgerrit/gerrit-master
My…

anish anil
- 2,299
- 7
- 21
- 41
0
votes
1 answer
Docker image works, Kubernetes Pod not working. Ubuntu. Log: /bin/sh: [npm,start]: not found
I'm taking a course that uses Kubernetes and am running into an error when I try to create a pod in Kubernetes.
I'm using Ubuntu, AMD64
I installed microk8s.kubectl following these instructions (https://ubuntu.com/kubernetes/install)
Here's my…

Emmanuel Mendoza
- 721
- 7
- 12
0
votes
1 answer
microk8s Ingress can't access services (503)
I'm running microk8s v1.18.5 from snap on Ubuntu 20.04 with addons ingress, dns, dashboard, helm3, storage.
I'm trying to externally access running services such as grafana and dashboard. I've configured proxy services and ingresses as per…

demiters
- 596
- 7
- 28
0
votes
1 answer
I have deployed a Drupal Instance but i see that the instance Endpoint are not visible although the containers deployed successfully
I have deployed a Drupal Instance but i see that the instance Endpoint are not visible although the containers deployed successfully.
Container logs don't point to any direction
apiVersion: apps/v1
kind: Deployment
metadata:
name:…

anish anil
- 2,299
- 7
- 21
- 41