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
5
votes
1 answer

How can I remove dependency of secrets from application pod in K3s cluster

I am having a k3s cluster with my application pods running. In all the pods when I login ( with kubectl exec -n -it /bin/bash command ) there is kubernetes.io directory which contain secret token that anyone can get if they do cat…
5
votes
2 answers

Is there any way to bind K3s / flannel to another interface?

I have a K3s (v1.20.4+k3s1) cluster with 3 nodes, each with two interfaces. The default interface has a public IP, the second one a 10.190.1.0 address. I installed K3s with and without the -flannel-backend=none option and then deployed flannel via "…
oss648
  • 51
  • 1
  • 3
5
votes
1 answer

Do we need to keep the services as nodePort even if Ingress is being used?

Hello Kubernetes Experts, Trying to get a better understanding here. I have created a deployment with a regular deployment yaml and service yaml The service is node port, I then created a ingress and pointed the service Tried to access the service…
anish anil
  • 2,299
  • 7
  • 21
  • 41
5
votes
1 answer

K3S Rancher - Debian based docker images not resolving dns properly

I am facing strange problem. What I've done: I deployed Rancher K3S cluster and there is a problem in dns resolving with debian based images. Domains are not resolved properly - it adds suffix to it with one of ours domain. What I've found: Debian…
Zoidik
  • 91
  • 5
5
votes
4 answers

k3d no external ip for a service of load balanacer type

i am deploying the hello-world docker container to a k3d - cluster. To get the external IP, a service of the type - load balancer is deployed. After that i was hoping to call the appication via load balancer. But i don't get the external ip. k3d…
nusmanov
  • 451
  • 4
  • 15
4
votes
1 answer

Helm install fails on K3s : ensure CRDs are installed first

My team and I are new to Kubernetes and are experimenting with running a few applications on it. For proof of concept, we have a running Lightweight Kubernetes (K3s) install, which presumably does not have the full range of CRDs available on a…
arimbun
  • 3,885
  • 2
  • 19
  • 16
4
votes
1 answer

How to properly set up Health and Liveliness Probes in Helm

As a stepping stone to a more complicated Problem, I have been following this example: https://blog.gopheracademy.com/advent-2017/kubernetes-ready-service/, step by step. The next step that I have been trying to learn is using Helm files to deploy…
Johnney
  • 161
  • 1
  • 9
4
votes
2 answers

How to run a local docker image as a k3s node

I've just started with docker and k3s. I have a local docker image that I've made with a custom app inside. I was wondering how would I set that as a pod on k3s. I have k3s set with docker instead of containerd but when I run kubectl create I still…
CursedCoder
  • 61
  • 1
  • 3
4
votes
2 answers

JcaPEMKeyConverter is provided by BouncyCastle, an optional dependency. To use support for EC Keys you must explicitly add dependency to classpath

I have a simple Flink streaming app. It runs well in a cluster created by start-cluster.sh command. Now based on the Flink tutorial, I hope to deploy it in application mode natively in a Kubernetes cluster created by k3d on macOS. First, I created a…
Hongbo Miao
  • 45,290
  • 60
  • 174
  • 267
4
votes
2 answers

RBAC (Role Based Access Control) on K3s

after watching a view videos on RBAC (role based access control) on kubernetes (of which this one was the most transparent for me), I've followed the steps, however on k3s, not k8s as all the sources imply. From what I could gather (not working),…
Paul
  • 756
  • 1
  • 8
  • 22
4
votes
2 answers

kubectl - error x509 certificate signed by unknown authority

I installed k3s on a single node. But when i try to connect to it remotly from my machine with kubectl I get the following error: » kubectl version …
8bit
  • 528
  • 2
  • 6
  • 25
4
votes
3 answers

Where is k3s storing pods?

I can’t find information about where the pods that run on nodes are stored… I know its temporary file but what if I want them to be created on specific storage or mount point ? From df -h on one node I can see it mounts: shm 64M 0 64M 0%…
VladoPortos
  • 563
  • 5
  • 21
4
votes
2 answers

k3s cleanup of HelmChart?

I have followed instructions from this blog post to set up a k3s cluster on a couple of raspberry pi 4: I'm now trying to get my hands dirty with traefik as front, but I'm having issues with the way it has been deployed as a 'HelmChart' I…
Viktor Hedefalk
  • 3,572
  • 3
  • 33
  • 48
3
votes
1 answer

Connect kubernetes to GitLab Container Registry

I got problem with connecting my k3s cluster to GitLab Docker Registry. On cluster I got created secret in default namespace like this kubectl create secret docker-registry regcred --docker-server=https://gitlab.domain.tld:5050…
vdobes
  • 85
  • 4
3
votes
2 answers

Can't access default k3s metrics server from Prometheus-Adapter

I have installed Prometheus-adapter along with the default metrics-server that comes with k3s securely on port 443. Unfortunately, I get no resources when I query custom.metrics.k8s.io $ kubectl get --raw "/apis/custom.metrics.k8s.io/v1beta1" | jq…
realsarm
  • 583
  • 6
  • 11
1
2
3
31 32