Questions tagged [k3s]
K3s is Rancher's lightweight Kubernetes distribution.
13
questions
0
votes
0
answers
44
views
Newly installed k3s cluster on fresh OS install can not resolve external domains or connect to external resources?
I'm following the k3s tutorial for troubleshooting DNS,
When I run this command,
kubectl run -it --rm --restart=Never busybox --image=busybox:1.28 -- nslookup www.google.com
I get this error,
...
0
votes
1
answer
25
views
Does /etc/rancher/k3s/registries.yaml affect `k3s ctr` and `k3s crictl`?
k3s ctr launches the contianerd CLI, and k3s crictl is the CRI cli. I'm told you configure k3s authentication to the image registries using /etc/rancher/k3s/registries.yaml. Does this yaml file ...
0
votes
1
answer
6
views
How can you validate that registries.yaml is set properly?
I've set up my /etc/rancher/k3s/registries.yaml, how can I confirm it works without doing
k3s kubectl run c1 --image docker.io/perl:5.30
k3s kubectl logs --follow=true c1
sleep 1
k3s kubectl delete ...
0
votes
1
answer
33
views
How do I get k3s to authenticate with Docker Hub?
In jornalctl -u k3s, I see a bunch of errors like this
429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and ...
0
votes
0
answers
13
views
K3s error, E0614 kubelet.go] "Error getting node"
When I boot k3s up, I'm getting this error:
host-10-2-68-228.openstack.build k3s[1390]: E0614 10:37:12.528678 1390 kubelet.go:2461] "Error getting node" err="node "host-10-2-68-...
-1
votes
1
answer
45
views
How can I get an installation of k3s working with KubeApps?
How can I get an install of KubeApps running on K3s? What are the minimal required steps?
0
votes
1
answer
37
views
KubeApps: Invalid GetAvailablePackageSummaries response from the plugin helm.packages: ... Unable to fetch chart categories
I followed the setup instructions for k3s, and kubectl in this answer. I'm getting this error when I boot into KubeApps
An error occurred while fetching the catalog: Invalid ...
0
votes
1
answer
19
views
Where can I find the default arguments supplied to the internal Kublet Service in k3s?
If I want to find the default-arguments to the internal Kublet service, where can I find these documented?
0
votes
0
answers
17
views
Where are the documented arguments for `kubectl-args` and `kube-proxy-arg` in k3s?
K3s does not have a dedicated kubelet manager. In the K3s distribution the kubelet is an embedded service. The arguments to k3s are merely described as,
--kubelet-arg value (agent/flags) ...
2
votes
1
answer
72
views
Where does k3s store it's "/var/lib/kubelet/config.yaml" file?
Referencing another answer here, they suggest setting
evictionHard:
imagefs.available: 1%
memory.available: 100Mi
nodefs.available: 1%
nodefs.inodesFree: 1%
In the file /var/lib/kubelet/...
0
votes
1
answer
52
views
k3s: Eviction manager: attempting to reclaim" resourceName="ephemeral-storage
When I run kubectl get pods -w --namespace kubeapps I see all my pods are pending
NAME READY STATUS RESTARTS AGE
kubeapps-internal-...
0
votes
1
answer
180
views
error: error loading config file "/etc/rancher/k3s/k3s.yaml": open /etc/rancher/k3s/k3s.yaml: permission denied
When I run commands under k3s kubectl, I get
$ k3s kubectl version
WARN[0000] Unable to read /etc/rancher/k3s/k3s.yaml, please start server with --write-kubeconfig-mode to modify kube config ...
0
votes
1
answer
159
views
k3s: The connection to the server localhost:8080 was refused - did you specify the right host or port?
When I run any kubectl commands, I'm getting
The connection to the server localhost:8080 was refused - did you specify the right host or port?