# K3S No nodes found

**URL:** <https://forums.suse.com/t/k3s-no-nodes-found/37864>\
**Category:** Support\
**Created:** [May 11, 2022, 1:05am UTC](https://forums.suse.com/t/k3s-no-nodes-found/37864 "2022-05-11T01:05:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben\_Heininger](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/ben_heininger/32/8975_2.png) [@Ben\_Heininger](https://forums.suse.com/u/Ben_Heininger)\
**Post date:** [May 11, 2022, 1:05am UTC](https://forums.suse.com/t/k3s-no-nodes-found/37864/1 "2022-05-11T01:05:59Z")

</div>

Hi I have a RPi4 4GB with a clusterhat and 4 raspberry pi zero 1 (base model now wifi)  
I was following network Chuck’s tutorial and I can get the Master online but it doesnt see the nodes.  
I ran this on the nodes:

```auto
curl -sfL [https://get.k3s.io](https://get.k3s.io/) | K3S_TOKEN="I put my K3S Token Here" K3S_URL="https://[I Put My Server IP Here]:6443" K3S_NODE_NAME="I Put My node Hostname Here" sh -`

```

When I run this on the Master it doesnt see the nodes.

```auto
kubectl get nodes
NAME STATUS ROLES AGE VERSION
cbridge Ready control-plane,master 20h v1.23.6+k3s1

```

How to I fix this please?  
I’ve restarted all of them but no success.

---

<div class="post-metadata">

**Author:** ![Ben\_Heininger](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/ben_heininger/32/8975_2.png) [@Ben\_Heininger](https://forums.suse.com/u/Ben_Heininger)\
**Post date:** [May 15, 2022, 11:45pm UTC](https://forums.suse.com/t/k3s-no-nodes-found/37864/2 "2022-05-15T23:45:09Z")

</div>

> [@Ben\_Heininger](#):
>
> `kubectl get nodes`

So after some extensive googling I found something on GitHub. It hasnt fixed the issue but its pointing me somehwere.  
I ran:

```auto
sudo systemctl status kubelet

```

and received the following on all the nodes:

```auto
Unit kubelet.service could not be found.

```

If I have run the install command and received no errors on each node during install how can this not be there?  
And how do I fix it?

---

<div class="post-metadata">

**Author:** ![wcoateRR](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/wcoaterr/32/8144_2.png) [@wcoateRR](https://forums.suse.com/u/wcoateRR)\
**Post date:** [May 17, 2022, 2:26pm UTC](https://forums.suse.com/t/k3s-no-nodes-found/37864/3 "2022-05-17T14:26:14Z")

</div>

I don’t use K3S, but RKE2 is the same base and I use that. What I have from the systemd stance is an rke2-server or an rke2-agent service. If I poke around using `ps -ef | grep -i kubelet` I find a running instance and when I check the parent PID I find that parent is `rke2 server` (I checked it on one of my server nodes). So I presume you have similar k3s-server or k3s-agent services and those should be in charge of keeping your kubelet running and you’d stop or restart them to get things back (I know with rke2 there’s an `rke2-killall.sh` script that’s needed to truly stop everything, so you might look for the K3S equivalent if a simple restart doesn’t help).

---

<div class="post-metadata">

**Author:** ![Ben\_Heininger](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/ben_heininger/32/8975_2.png) [@Ben\_Heininger](https://forums.suse.com/u/Ben_Heininger)\
**Post date:** [May 18, 2022, 12:30am UTC](https://forums.suse.com/t/k3s-no-nodes-found/37864/4 "2022-05-18T00:30:36Z")

</div>

Hi,  
Thank you, yes there are k3s-server and k3s-agent and a k3s-killall.sh script too.  
I am new to Kubernetes and am doing this as a learning tool.  
I have a RPi4-4gb with this cluster hat [https://clusterhat.com/](https://clusterhat.com/) and 4 Pi Zero 1.3.  
I can see all of them and they all have the shared key from the Pi4.  
I can SSH into all of them but the server doesnt see the nodes and I dont know why or how to fix it.  
There seems to be very limited resources online or my google fu is terrible.

---

<div class="post-metadata">

**Author:** ![wcoateRR](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/wcoaterr/32/8144_2.png) [@wcoateRR](https://forums.suse.com/u/wcoateRR)\
**Post date:** [May 18, 2022, 1:29pm UTC](https://forums.suse.com/t/k3s-no-nodes-found/37864/5 "2022-05-18T13:29:24Z")

</div>

> **[Installation](https://rancher.com/docs/k3s/latest/en/installation/)**

> **[Set up Infrastructure for a High Availability K3s Kubernetes Cluster](https://rancher.com/docs/rancher/v2.6/en/installation/resources/k8s-tutorials/infrastructure-tutorials/infra-for-ha-with-external-db/)**

&

> **[Setting up a High-availability K3s Kubernetes Cluster for Rancher](https://rancher.com/docs/rancher/v2.6/en/installation/resources/k8s-tutorials/ha-with-external-db/)**

are all I know to point to. As I said, I’ve never used K3S, but I used the equivalent RKE2 docs and they weren’t perfect and required some poking around and debugging, but part of that was because I was being weird and doing things like trying to leave SELinux enforcing.

Good luck.

---

<div class="post-metadata">

**Author:** ![Ben\_Heininger](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/ben_heininger/32/8975_2.png) [@Ben\_Heininger](https://forums.suse.com/u/Ben_Heininger)\
**Post date:** [May 19, 2022, 1:10am UTC](https://forums.suse.com/t/k3s-no-nodes-found/37864/6 "2022-05-19T01:10:42Z")

</div>

Thank you very much.  
I’ll take a look at those later.  
Hopefully there is something there to help. 🙏
