Questions tagged [k3s]

47 questions
1
vote
1 answer

Schedule pod on a node and access pv on another node

I'm running a k3s cluster on RPi4, with heterogenous config (a node has a high capacity but slow hdd, another has a ssd drive, a third only has a sd card). I have persistent volumes & claims of kind "local-path", attached to nodes & pods depending…
spi
  • 113
  • 4
1
vote
1 answer

K3s - dial tcp 10.43.0.1:443: connect: connection refused

I created a K3s multi-master embedded cluster like this: hostname: k3s01 curl -sfL https://get.k3s.io | K3S_TOKEN=xxx INSTALL_K3S_EXEC="server --disable servicelb --disable traefik --bind-address=10.0.0.4 --tls-san 10.0.0.4…
Berndinox
  • 240
  • 1
  • 3
  • 11
1
vote
1 answer

Free up space on K3s cluster

I have a K3s single-node cluster running with Containerd and where I'm reaching the space disk limit. It seems I have some old unused docker images on the machine. How can I cleanup those in order to free up the disk ? Thanks EDIT After further…
iAmoric
  • 121
  • 1
  • 4
0
votes
0 answers

How to access k3s cluster created in an azure vm with public and private ip?

I tried below steps to setup k3s cluster. Here are the steps to create a K3s cluster on an Azure VM with both private and public IP addresses, and access it from your laptop using kubectl: Create an Azure VM with Ubuntu 20.04 LTS as the operating…
sardar
  • 1
  • 2
0
votes
0 answers

RabbitMQ CPU Usage Spikes

I've installed RabbitMQ on kubernetes(k3s) on ARM (Oracle OCI Ampere A1) using the community docker image. I'm seeing very regular periodic CPU usage spikes (two series of spikes, both with a period of 60 seconds and offset by about 20 or so…
0
votes
0 answers

K3S master does not start due to v1.Event to any object conversion error

I'm running k3s 1.26.4 on a small 4 nodes home lab cluster (1 master/worker + 3 workers). Today, the master node crashed, and a forced reboot was the only solution. Since then, the master node refuses to start correctly. In the logs, I can see a lot…
0
votes
0 answers

Problems accessing to a RDS through a Bastion Host from a local K3s

I'm trying to build a local Kubernetes with K3s and I'm having problems to access to my RDD that is situated in the private Area of the VPN. For now, I'm trying to deploy a Passbolt (https://artifacthub.io/packages/helm/cnieg/passbolt) and I'm…
Teachh
  • 1
0
votes
0 answers

Kube-vip on k3s cluster networking - VIPs from different network

I am trying to setup simple kubernetes cluster on our own infrastructure. We've decided to use k3s and it seems that kube-vip could fit our needs as control plane and services balancer. I am starting with 5 VMs: 3 for control plane and 2…
Radek Hladík
  • 600
  • 1
  • 3
  • 14
0
votes
0 answers

dynamic app instance on demand : docker ? rancher ? k3s?

I would like to launch dynamic Wordpress instance i.e. "on demand" when a user want to test Wordpress (Wordpress for example). I have a bare metal server. Example scenario : A user will connect with demo/demo login and will be able to test a…
rach
  • 1
0
votes
0 answers

k3s kubectl logs times out after 50 seconds

TLDR: Depending on my k3s version, kubectl logs -f drops back to the console (timeouts?) exactly after 50 seconds without new log entries, instead of remaining attached until a Ctrl-C is issued. I can't seem to find where this is configured or why…
0
votes
0 answers

port forward ssh from traefik reverse proxy on docker to a k3s container

I'm running a k3s cluster (1 master + 2 workers) and a docker traefik container on the same host (master). The traefik docker container is actually doing the reverse proxy stuff for tls which is working already on ports 80 and 443 for my different…
0
votes
3 answers

Docker DIND cannot apt-get update but curl works

I've deployed docker-dind on my homelab k3s cluster. And try to build docker images there. However I am getting error while performing apt-get update command. But running curl command on the same network and within the docker:dind works as well as…
XPLOT1ON
  • 107
  • 7
0
votes
0 answers

kube-vip on k3s responds to ping but to api requests

I have setup my cluster with tls-san configured with my kube-vip IP (..*.59) and have deployed the daemon set. The daemon set has no errors and the kube-vip pod is running. If I ping my VIP IP, I get a response but if I try to access the cluster…
PrestonDocks
  • 215
  • 3
  • 11
0
votes
1 answer

k3s fail to start as daemoan but works when running manually from command line

I am trying to install k3s on a redhat operating system, on an EC2 instance (t3.xlarge) OS version: $ cat /etc/*release NAME="Red Hat Enterprise Linux" VERSION="8.6 (Ootpa)" I install mysql on the server. These are the installation commands: export…
justadev
  • 393
  • 2
  • 4
  • 20
0
votes
1 answer

Kubernetes k3s master node fails to ready with FailedCreatePodSandBox errors

I'm trying to setup a small 4 worker node cluster atm and I just installed k3s on my raspberry pi 4s (8gb) and I'm getting a NotReady status. I'm new to kubernettes/k3s, but I believe with a totally fresh install, things should 'just work'. I have…
neogeek23
  • 101
  • 1
  • 1