Questions tagged [k3s]

39 questions
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
  • 4
0
votes
0 answers

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
  • 303
  • 1
  • 4
  • 14
0
votes
0 answers

k3s/kubernetes how to undo delete of persistentvolumeclaims (local-path) that has status Terminating

I accidentally did : kubectl delete pvc ... Now my pvc shows: NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE awx-projects-claim Terminating …
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
0
votes
1 answer

How do I configure Wireguard for a K8s multi-site?

I tried to configure Wireguard for a K3s multi-site cluster, my issue is with routing. There are at least 4 nodes, 2 in one location + 1 in other location and + 1 in other location. Assumptions: 10.50.0.0/16 network is for physical…
0
votes
1 answer

Aggregate multiple log files in a directory

I have k3s single node cluster running on a machine. I do not have any logging infrastructure set up yet and I'd leave this as a future learning experience for now. On that k3s I run some cron jobs which create logs for each of the jobs into a…
Klamber
  • 146
  • 7
0
votes
1 answer

Getting 401 Unauthorized while trying to pull images from local docker registry (harbor) from k3s

Due to work I need to self-host a local docker proxy cache using Harbor. So i wen to their doc and I installed the server and configured it properly, accesing it via FQDN and using a self-signed certificate. I'm able to use docker login from…
k.Cyborg
  • 111
  • 8
0
votes
1 answer

how do you check load balancer method "algorithm" for a nginx ingress controller?

I do have an ingress controller load balancer in my Kubernetes Cluster, how do I know if my load balancer run which algorithm? and what happens if my load balancer is not working or the algorithm is not working properly. Nb: install ingress…
newcomers
  • 1
  • 3
0
votes
0 answers

Load balancer algorithm of bitnami nginx ingress

I do install the ingress controller via helm and the Nginx ingress controller from bitnami, I pretty sure the bitnami use the kubernetes/ingress-nginx from here https://github.com/kubernetes/ingress-nginx i read an article that said that the default…
0
votes
1 answer

Deploying k3os through a single image across all nodes with a shared token

I'm trying to get a k3os cluster running on a set of Raspberry Pi nodes using https://github.com/sgielen/picl-k3os-image-generator. I'm successfully generating images and I am able to boot from them. However, even though I have a token entry in…
MikeBaz - MSFT
  • 1,253
  • 3
  • 15
  • 35
0
votes
0 answers

I Could not ping or curl master node flannel interface

I have 3 nodes in the cluster, one is the master node and two are the worker nodes. I use CNI flannel for the Kubernetes cluster. I run an Nginx ingress in my cluster for the load balancer and the hostname is host.com this is my pods in the…
newcomers
  • 1
  • 3
0
votes
1 answer

What all dependency in the get.k3s.io script need to be edited to download k3s locally

Currently I am using command curl -sfL https://get.k3s.io to download k3s. The script get.k3s.io is using below third party internet calls to URLs…
Thor
  • 1
  • 1
0
votes
0 answers

Kubernetes Wireguard VPN tunneling home-lan with cloud-server error

Problem I am currently trying to VPN tunnel nodes of my LAN with a node outside of my LAN (Inside a data center). For that, i was trying to use K3S. Sadly i cant ping the worker (inside lan) over the master (outside lan). Pinging between worker…
0
votes
0 answers

access my website (Nginx) Through another machine from local network

I work on K3S kuberentes cluster on ubuntu. Local IP address 192.168.111.2 public IP address : 192.168.20.90 ip loadbalancer : 192.168.111.100 I build an Nginx with the k3sdomain.com domain on my K3S cluster. I can access my k3sdomain.com from my…
newcomers
  • 1
  • 3
0
votes
0 answers

502 gateway error on Kubernetes Ingress (K3S - Bare Metal)

I have a k3s cluster with a master on a cloud VPS but with 2 remote worker nodes, both on the same network. They're connected via a VPN to the cloud provider. The worker nodes were able to join just fine and were able to create new pods, but it…
tymur999
  • 465
  • 1
  • 3
  • 8