Questions tagged [microk8s]

30 questions
0
votes
0 answers

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 nodes, and removed all worker nodes, to reduce…
freebie
  • 101
  • 1
0
votes
1 answer

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 in the form of events or errors (that I've…
freebie
  • 101
  • 1
0
votes
0 answers

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 microk8s leave as it was advised that after…
0
votes
0 answers

How to use service account to deploy objects(deployments, configmaps etc) in Kubernetes

I have a deploy-pipeline in Azure devops. I am using this to deploy some objects to our k8s cluster (microk8s). I connect to the cluster with the help of a service connection that uses a kube-config. Now I want to move to using environments. But…
0
votes
0 answers

How to use Azure Arc to deploy containers to local k8s cluster?

We have a local k8s(microk8s) cluster installed at our client. We use Azure build pipelines and release pipelines to build and deploy to this cluster using a deployment group, that is, we have installed an Azure Agent on the cluster server that…
0
votes
0 answers

Nodelocaldns Support in Microk8s

Do we have support for Nodelocaldns in Micork8s clusters. If not, How it is handling the Cluster DNS performance without caching agent?
0
votes
1 answer

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 feed from a camera. The url of the camera feed is…
0
votes
0 answers

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 have three remote virtual machines running openSUSE,…
ead79
  • 1
0
votes
0 answers

Static IPv4 addresses as Kubernetes external IPs on dedicated servers

I have two dedicated servers (Ubuntu) with static IPv4 addresses and want to join them into a Kubernetes cluster, preferably with MicroK8s. When I attempt this (with MicroK8s), the two static addresses are used for the internal node IPs, with the…
0
votes
1 answer

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 namespace is defined here but they are deployed…
0
votes
0 answers

Checking missing nodes in microk8s cluster with ansible

I'm trying to automate servers configuration to deploy a microk8s cluster with Ansible My main playbook : - name: Getting connected nodes ansible.builtin.shell: "microk8s.kubectl get nodes -o wide | awk '{ print $6, $2 }'" register:…
Ben
  • 1
0
votes
0 answers

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. I get all sort of other metrics, but I have…
mhusaini
  • 101
  • 1
0
votes
1 answer

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 actual code is written in .NET 5.0 using VS…
jdege
  • 193
  • 1
  • 11
0
votes
1 answer

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 problem and which isn't my domain either. I lost…
0
votes
1 answer

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 in 2 nodes being returned, where as to my…
Marco
  • 158
  • 1
  • 1
  • 9
1
2