Skip to main content

Questions tagged [microk8s]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
46 views

microk8s kubelet constantly restarting

OS: Ubuntu Desktop 24 LTS Microk8s: v1.30.1 revision 6876 I was trying to bring up some containers, using helm, but the pods never get created: sudo microk8s kubectl get all --all-namespaces NAMESPACE ...
gai-jin's user avatar
  • 123
1 vote
0 answers
39 views

microk8s pods not starting, containerd possible conflict

a few days ago I had to install microk8s to try out a project, all seems great and stuff but pods never start.. and I wonder why, here is what I found so far: I use ubuntu 22.04 LTS, previously I had ...
gai-jin's user avatar
  • 123
1 vote
1 answer
120 views

Upgraded from 18.04 to Ubuntu 20.04 - microk8s local DNS resolution stopped working

I have a server that started out on Ubuntu 16.04. I'm trying to get it current so I did an upgrade from 16.04 to 18.04 (Which was mostly trouble free) I let that run for a day to make sure everything ...
irwinr's user avatar
  • 21
0 votes
0 answers
266 views

Microk8s Cluster - Pods cannot reach nameserver/CoreDNS pod - No route to host

Disclaimer: This is my first question in ServerFault and I'm a complete noob. I have the following set up: remote VM, running CentOS 7, running MicroK8s (v1.28.3). It's a single-node cluster so I have ...
okariotis's user avatar
  • 101
0 votes
0 answers
57 views

Microk8s baremetal redundancy failover

I have a bare metal kubernetes cluster spanning over a cluster of raspberry pis where I am hosting some applications. And I want to test and setup an environment where if I "kill" any of the ...
Hickori's user avatar
1 vote
0 answers
165 views

MicroK8s does not authenticate with gitlab private registry

I have an instance of MicroK8s, I am currently migrating my applications. But I can't authenticate to Gitlab's private registry. About my environment: MicroK8s Gitlab (with registry working securely) ...
Hiago Souza's user avatar
0 votes
0 answers
859 views

microk8s kubelet reboot loop

I have a k8 cluster using microk8s, and the cluster started to misbehave, unresponsive / providing stale states when scheduling pods, managing nodes, etc. I have gone through and rebooted all manager ...
freebie's user avatar
  • 101
0 votes
1 answer
80 views

Troubleshooting K8 cluster with StatefulSets that don't respond to scales

I currently have a Kubernetes environment which is generally not behaving (slow response times to commands, pods not being scheduled, etc). I've not been able to find any trouble shooting information ...
freebie's user avatar
  • 101
1 vote
2 answers
3k views

How to debug why a NodePort is refusing connections in K8S?

Introduction I recently got a simple web app working on a three-node Ubuntu Server with MicroK8S. I decided to try rebuilding my cluster and reinstalling everything using YAML manifests, to ensure the ...
halfer's user avatar
  • 179
1 vote
1 answer
2k views

How to set up port-forwarding in MicroK8S across a cluster (ideally without a manifest)?

I am learning K8S using MicroK8S. I have a three-node cluster, each node having 16G of RAM. The cluster has entered HA mode automatically. The cluster sits on my home LAN. Here are my nodes: name IP ...
halfer's user avatar
  • 179
1 vote
2 answers
3k views

How to fix "failed to unpack image on snapshotter overlayfs: unexpected media type text/html" when MicroK8S is starting a deployment?

I continue down the frustratingly stop-start road of learning Kubernetes (specifically MicroK8S). I build an image locally on a development laptop thus: docker build -t k8s-workload . This is a ...
halfer's user avatar
  • 179
1 vote
1 answer
245 views

Microk8s - Non-HA single node, leaving node removes all pods

Iam running the microk8s in ubuntu in no high availability i.e. there is a single node onto the same machine where it is installed. I updated the certificates and then i issue following command: sudo ...
Umair Khan's user avatar
2 votes
1 answer
1k views

How to debug why a Ingress Controller in MicroK8S is pointing to the wrong service?

I have built a little three-node Kubernetes cluster at home, for learning purposes. Each 16GB node runs Ubuntu Server and MicroK8S. I have set up a leader (arran) and two followers (nikka and yamazaki)...
halfer's user avatar
  • 179
2 votes
1 answer
585 views

microk8s communication - vxlan.calico, bridge and veth

I've configured my microk8s instance (one node). Works well. I've started digging in some linux network internals and I was dumbfounded looking at this: $ ip -c -br link lo UNKNOWN ...
Maciek Leks's user avatar
0 votes
1 answer
86 views

How to minimize the number of deployments in kubernetes, how to tie pods to configmaps?

Want to start by saying I'm pretty new to Kubernetes and I'm finding it hard to formulate a proper question. The implementation I'm using of k8s is microk8s. I have this application that analyzes a ...
Viktor Eriksson's user avatar
0 votes
0 answers
965 views

Error occurred while creating a cluster using Kubespary

I want to create a Kubernetes cluster using Kubespary. I have created three nodes. I am using the official documentation: https://kubernetes.io/docs/setup/production-environment/tools/kubespray/ I ...
ead79's user avatar
  • 1
0 votes
1 answer
1k views

How to allow a tcp service (not http) on custom port inside kubernetes

I have a container running an OPC-server on port 4840. I am trying to configure my microk8s to allow my OPC-Client to connect to the port 4840. Here are examples of my deployment and service: (No ...
Viktor Eriksson's user avatar
7 votes
1 answer
10k views

Error when create a MicroK8s cluster : Connection failed. The hostname (xx) of the joining node does not resolve to the IP "xx". Refusing join (400)

I have installed microk8s(1.24/stable) on two machines. The ip of the two machines are:172.29.99.187, 172.29.99.188. I operate the command at 172.29.99.187:microk8s add-node Output: From the node you ...
ya chen's user avatar
  • 181
1 vote
0 answers
156 views

Seeking advice regarding ingress versus load balancing for app in microk8s cluster

I have a seven node microk8s cluster set up on an Ubuntu server in my cellar. multipass shows me I have three IP address per VM since I created these hosts using the bridged network option. I thought ...
mr.zog's user avatar
  • 960
0 votes
0 answers
648 views

microk8s: pod resource usage metrics not available from all nodes

I am running microk8s v1.22/stable on a Linux cluster with 11 nodes. I have enabled the metrics-server plugin and installed Prometheus via the Helm chart with nodeExporter and kubeStateMetrics enabled....
mhusaini's user avatar
  • 101
4 votes
1 answer
10k views

Access Kubernetes Dashboard Via HTTP Instead of HTTPS

Question How can I enable HTTP requests? I have a primary web server that is a proxy and sends HTTP requests to the MicroK8S server but cannot due to the HTTP error. Install command used: sudo snap ...
Pie's user avatar
  • 320
0 votes
1 answer
209 views

How do I view a docker image's console trace, in Kubernetes Dashboard?

I'm working through a tutorial that uses Kubernetes: .NET Microservices – Full Course The instruction is aimed at MS Windows 10, but I'm working through it in both Windows and Linux, just because. The ...
jdege's user avatar
  • 193
1 vote
2 answers
5k views

kubernetes ingress replace path

I have two backend api-services: api-service-v1 api-service-v2 Both respond on "/api/" path I have this configuration running fine as a docker-compose setup where nginx service serves as a ...
Vasyl Herman's user avatar
1 vote
1 answer
11k views

Trouble with DNS resolution on and Microk8s cluster

My microk8s cluster is running on a centos8 vm and I have some issues with DNS resolution of my pods. Nameserver are at x.x.x.101 and x.x.x.100 both are ping able from within the pods and I can also ...
Thagor's user avatar
  • 111
1 vote
1 answer
2k views

How to check if a node in k8s cluster got rebooted

k8s master checks for kubelet status at frequent intervals. Maybe we can change that time and that makes the node not-ready. But that doesn't always mean that the node got rebooted. How to change ...
user762025's user avatar
1 vote
1 answer
854 views

How to setup custom authentication and authorization in Istio/K8?

Let's say, I have a project that has 8 pods(services). I understand that authentication and authorization are covered in Istio Gateway using jwt. So that every request is verified. But users with ...
coolisuz's user avatar
2 votes
0 answers
3k views

What decides node's hostname when adding new node with microk8s?

I am building a cluster of machines all running the same setup: Ubuntu Server 20.04.2 during installation I select a unique short hostname when OS is installed, I add microk8s 1.20/stable via snap ...
porkbrain's user avatar
  • 121
0 votes
1 answer
68 views

Why am I no longer able to reconnect to remote server

I worked fine on a remote server (ubuntu-16.04), and when I ran the command from https://github.com/ubuntu/microk8s/issues/408 to fix a bridging problem in microk8s (kubernetes) I fell into a bigger ...
Adil Blanco's user avatar
0 votes
1 answer
212 views

Possibly corrupt K8s configuration. How to find out which node is correct?

I am debugging a DNS issue with Microk8s on Ubuntu, where I cannot communicate with external services from inside a pod. I am now at a point, where I discovered that microk8s kubectl get nodes results ...
Marco's user avatar
  • 158
1 vote
2 answers
2k views

"failed to created runc console socket" when calling kubectl exec

I have an Ubuntu Server in my basement running MicroK8S, installed via Snap. I'm trying to create a simple pod using kubectl run that I can exec into for debugging purposes. But I keep failing. At ...
soapergem's user avatar
  • 719
25 votes
5 answers
19k views

Is microk8s suitable for production environments, or is it just for development?

microk8s appears to be an easy way to install Kubernetes on Ubuntu. Several places refer to it as an alternative to minikube, which is not aimed at production environments, and this post seems to ...
Travis's user avatar
  • 385