Questions tagged [k3s]

k3s is intended to be a lightweight (with smaller memory footprint), fully compliant Kubernetes distribution. Use this tag for questions about platform k3s and k3s platform components (e.g. k3s server, agent, kubectl, crictl, ctr, token, etc.).

k3s is intended to be a lightweight (with smaller memory footprint), fully compliant Kubernetes distribution.

Great for Edge, IoT, CI, Development, ARM, Embedding K8s and situations where a PhD in k8s clusterology is infeasible. Solution supports the architectures x86_64, ARMv7, ARM64, and s390x.

More information

478 questions
3
votes
0 answers

Rancher desktop unable to pull an image from Docker

I have downloaded and set up Rancher Desktop with nerdctl but I am unable to pull any public image from the Docker Hub. I am receiving an error: INFO[0011] trying next host error="failed to do request:…
David Sagang
  • 317
  • 1
  • 6
  • 24
3
votes
2 answers

Unable to connect worker node to master using K3S

I am trying to setup a K3S cluster for learning purposes but I am having trouble connecting the master node with agents. I have looked several tutorials and discussions on this but I can't find a solution. I know I am probably missing something…
pedrozuccolo
  • 53
  • 1
  • 6
3
votes
1 answer

How to strip the path prefix in Kubernetes Traefik ingress?

I'm using k3s v1.22.7 on Ubuntu 20.04. I want /bar/xyz to be /xyz to the pods. Without the middleware I'm properly routed to the pods, with it I get 404 from Traefik as though the stripping from replacePathRegex/stripPrefix happens before the…
Steffen
  • 1,328
  • 3
  • 12
  • 29
3
votes
1 answer

Rancher helm chart, cannot find secret bootstrap-secret

So I am trying to deploy rancher on my K3S cluster. I installed it using the documentation and helm: Rancher documentation While I am getting access using my loadbalancer. I cannot find the secret to insert into the setup. They discribe the…
kevingoos
  • 3,785
  • 4
  • 36
  • 63
3
votes
2 answers

Diagnosing K3S Ingress 404

I am unable to get even the most basic examples of Ingress Resources working in K3S. According to the documentation, a Traefik Ingress Controller is installed by default but it doesn't seem to handle/see any Ingress Resources I create. The response…
Marc
  • 13,011
  • 11
  • 78
  • 98
3
votes
1 answer

monitoring.cereos.com/v1 servicemonitor resource name may not be empty

I am trying to follow this instruction to monitoring my prometheus https://logiq.ai/scraping-nginx-ingress-controller-metrics-using-helm-prometheus/ anyhow, I got a problem when trying to apply this file configuration apiVersion:…
newcomers
  • 161
  • 1
  • 12
3
votes
1 answer

kubernetes Service failing while offline (without internet) k3s installation

I am trying to do offline setup of k3s i.e. without internet connectivity for Single Server Configuration by below steps, but at the end k3s service status is loaded instead of active and the default/kube-system pods not coming up. I Downloaded k3s…
Thor
  • 305
  • 1
  • 2
  • 11
3
votes
1 answer

How to download & store k3s locally so that I can avoid github or internet calls

I am currently using command curl -sfL https://get.k3s.io to download k3s. The script get.k3s.io is using third party internet calls to…
Thor
  • 305
  • 1
  • 2
  • 11
3
votes
1 answer

Generating a redirect with traefik ingress on k3s?

I'm running prometheus and grafana under k3s, accessible (respectively) at http://monitoring.internal/prometheus and http://monitoring.internal/grafana. The grafana Ingress object, for example, looks like: apiVersion: networking.k8s.io/v1 kind:…
larsks
  • 277,717
  • 41
  • 399
  • 399
3
votes
1 answer

Error creating pod on master node: Error failed to get sandbox container task: no task found

Very new to K3s and I'm attempting to just practice by creating a deployment with 3 replicas of an ngnix pod. It creates on 2 of my worker nodes but one of the pods tried creating on my master node but I got a CreateContainerError. After digging…
3
votes
1 answer

Deleted ~/.kube/config

I accidentally deleted the config file from ~/.kube/config. Every kubectl command fails due to config missing. Example: kubectl get nodes The connection to the server localhost:8080 was refused - did you specify the right host or port? I have…
e7lT2P
  • 1,635
  • 5
  • 31
  • 57
3
votes
2 answers

Importing images with CTR fails silently

I exported docker images in .tar format. Then importing those images using K3S and ctr showed no results : $ sudo k3s ctr i import myimage.tar $ No output from import cmd ? $ sudo k3s ctr i ls $ Nothing there....
Doctor
  • 7,115
  • 4
  • 37
  • 55
3
votes
2 answers

How do I actually get the output of kubectl kustomize into my cluster?

I have a very simple kustomization.yaml: configMapGenerator: - name: icecast-conifg files: - icecast.xml When I run kubectl kustomize . it spits out a generated configMap properly, but how do I actually load it into my cluster? I'm…
user3056541
  • 75
  • 1
  • 5
3
votes
1 answer

Customizing coredns on k3s to point a domain directly to the cluster loadbalancer

I'm trying to add a rewrite to coredns to point a domain to the cluster loadbalancer (so that the request for that domain gets redirected back into the cluster). I can't seem to find a way to affect k3s' coredns configuration. Is there a way to…
tibbe
  • 8,809
  • 7
  • 36
  • 64
3
votes
2 answers

Running k3s on with pi zero

when using k3sup to setup k3s with raspbian buster on raspberrypi 4b it works (armv7 architecture; with reference below). with an exact similar similar setup procedure of agent nodes on pi zeros, and running raspi-config, it errors with the…
mirageglobe
  • 2,446
  • 2
  • 24
  • 30
1 2
3
31 32