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
23
votes
2 answers

Access local docker images with k3s

Is there any way to access local docker images directly (without using 'docker save') with k3s? Like minikube accesses local docker images after running this command eval $(minikube docker-env) A little bit of background. I have set up a machine…
Naveed
  • 331
  • 1
  • 2
  • 6
16
votes
1 answer

Waiting on certificate issuance from order status "pending"

I'm running into an issue handling tls certificates with cert-manager, I'm following the documentation and added some extras to work with Traefik as an ingress. Currently, I have this YAML files: cluster-issuer.yaml apiVersion:…
maudev
  • 974
  • 1
  • 14
  • 32
11
votes
1 answer

kubernetes k3s agent can't connect to master CA/SSL error

I am trying to deploy an application with k3s kubernetes. Currently I have two master nodes behind a load-balancer, and I have some issues connecting worker nodes to them. All nodes and the load-balancer runs in seperate vms. The load balancer is a…
Jonas Grønbek
  • 1,709
  • 2
  • 22
  • 49
10
votes
5 answers

How can I fix 'failed calling webhook "webhook.cert-manager.io"'?

I'm trying to set up a K3s cluster. When I had a single master and agent setup cert-manager had no issues. Now I'm trying a 2 master setup with embedded etcd. I opened TCP ports 6443 and 2379-2380 for both VMs and did the following: VM1: curl -sfL…
Steffen
  • 1,328
  • 3
  • 12
  • 29
10
votes
2 answers

How to start K3s server after running k3s-killall.sh script

I was having K3s cluster with below pods running: kube-system pod/calico-node-xxxx kube-system pod/calico-kube-controllers-xxxxxx kube-system pod/metrics-server-xxxxx kube-system …
9
votes
1 answer

For Traefik Ingress Controller in k3s disable TLS Verification

I am using the default installation of k3s (release v1.17.0+k3s.1) and verified it is working correctly on my Raspberry Pi cluster. After installing kubernetes-dashboard using the recommended instructions…
Michael
  • 301
  • 4
  • 11
8
votes
3 answers

k3s redirect http to https

I'm trying to deploy AWX on k3s and everything works just fine, however I'd like to enforce SSL - so, redirect HTTP to HTTPS. I've been trying to test the SSL enforcement part, however it's not working properly. Here is my traefik…
dywan666
  • 385
  • 8
  • 14
8
votes
1 answer

k3d failed to pull image "docker.io/rancher/pause:3.1"

I've started k3d with k3d create && k3d start. All pods fail to start with the following error: Warning FailedCreatePodSandBox 14s (x2 over 31s) kubelet, k3d-k3s-default-server Failed to create pod sandbox: rpc error: code = Unknown desc =…
crenshaw-dev
  • 7,504
  • 3
  • 45
  • 81
7
votes
1 answer

k3s image pull from private registries

I've been looking at different references on how to enable k3s (running on my pi) to pull docker images from a private registry on my home network (server laptop on my network). If someone can please point my head in the right direction? This is my…
Paul
  • 756
  • 1
  • 8
  • 22
7
votes
4 answers

Why does a match Persistent Volume not bind to a match Persistent Volume Claim (using k3s)?

I have what seems like a straightforward PV and PVC: apiVersion: v1 kind: PersistentVolumeClaim metadata: name: www-pvc spec: storageClassName: "" volumeName: www-pv accessModes: - ReadOnlyMany resources: requests: storage:…
tibbe
  • 8,809
  • 7
  • 36
  • 64
7
votes
1 answer

Kubernetes: Increase the size of OverlayFS / containerd runtime volumes in K3s

I have a lightweight Kubernetes cluster deployed with Rancher's K3s. Most of the time pods runs fine in it, however I noticed that from time to time it runs into NodeDiskPressure, which causes existing Pods to be evicted. Looking into the available…
born to hula
  • 1,274
  • 5
  • 18
  • 36
6
votes
3 answers

How to ssh into rancher desktop node?

I just started to use Rancher and request to correct me for any wrong terminology. Earlier I was using minikube on Macbook which provide SSH easily using minikube ssh for troubleshooting. As I am newbie to Rancher Desktop and wanted to do SSH on…
Ashish Kumar
  • 524
  • 6
  • 18
6
votes
3 answers

How to expose traefik v2 dashboard in k3d/k3s via configuration?

*Cross-posted to k3d github discussions, to a thread in Rancher forums, and to traefik's community discussion board Tutorials from 2020 refer to editing the traefik configmap. Where did it go? The traefik installation instructions refer to a couple…
Eric Swanson
  • 820
  • 1
  • 9
  • 19
6
votes
1 answer

How do I access api controller config in lightweight K3s

Normally found in /etc/kubernetes/manifests/kube-apiserver.yaml in regular Kubernetes . In rancher / K3s , this is all I can find. I'm trying to tweak some settings so I can enable custom autoscaling (eg…
Vinay B
  • 673
  • 8
  • 21
5
votes
1 answer

K3s kubeconfig authenticate with token instead of client cert

I set up K3s on a server with: curl -sfL https://get.k3s.io | K3S_TOKEN={token} INSTALL_K3S_EXEC="server --cluster-init --disable=traefik --write-kubeconfig-mode 644" sh -s - Then I grabbed the kube config from /etc/rancher/k3s/k3s.yaml and copy it…
BearsEars
  • 849
  • 1
  • 13
  • 21
1
2 3
31 32