agrant@Master:~$ kubectl get nodes NAME STATUS ROLES AGE VERSION master Ready…
- User
agrant@Master:
kubectl get nodes NAME STATUS ROLES AGE VERSION master Ready control-plane,master 20h v1.32.3+k3s1 worker NotReady 20h v1.32.3+k3s1 worker2 NotReady 20h v1.32.3+k3s1 vagrant@Master:kubectl describe node worker Name: worker Roles: Labels: beta.kubernetes.io/arch=amd64 beta.kubernetes.io/instance-type=k3s beta.kubernetes.io/os=linux kubernetes.io/arch=amd64 kubernetes.io/hostname=worker kubernetes.io/os=linux node.kubernetes.io/instance-type=k3s Annotations: alpha.kubernetes.io/provided-node-ip: 192.168.121.144 flannel.alpha.coreos.com/backend-data: {"VNI":1,"VtepMAC":"ea:66:9f:0b:ef:b3"} flannel.alpha.coreos.com/backend-type: vxlan flannel.alpha.coreos.com/kube-subnet-manager: true flannel.alpha.coreos.com/public-ip: 192.168.121.144 k3s.io/hostname: worker k3s.io/internal-ip: 192.168.121.144 k3s.io/node-args: ["agent"] k3s.io/node-config-hash: 3OIJUVCGLNQOXF4UYEPXJKEZU2TTDGVUMSBRE3MIDFN5ESE3TXEA==== k3s.io/node-env: {"K3S_TOKEN":"********","K3S_URL":" node.alpha.kubernetes.io/ttl: 0 volumes.kubernetes.io/controller-managed-attach-detach: true CreationTimestamp: Wed, 23 Apr 2025 21:43:25 +0000 Taints: node.kubernetes.io/unreachable:NoExecute node.kubernetes.io/unreachable:NoSchedule Unschedulable: false Lease: HolderIdentity: worker AcquireTime: RenewTime: Wed, 23 Apr 2025 22:45:58 +0000 Conditions: Type Status LastHeartbeatTime LastTransitionTime Reason Message - Assistant
- User
vagrant@Master:
sudo systemctl restart k3s vagrant@Master:kubectl get nodes NAME STATUS ROLES AGE VERSION master Ready control-plane,master 20h v1.32.3+k3s1 worker NotReady 20h v1.32.3+k3s1 worker2 NotReady 20h v1.32.3+k3s1 vagrant@Master:~$ - Assistant
You ran
sudo systemctl restart k3s-agenton the master node, but that service doesn’t exist on the master in your k3s setup, because:- k3s-agent runs only on worker nodes
- The master node runs the
k3sservice (the full server)
What you need to do:
-
SSH into the worker nodes (
workerandworker2) where your nodes areNotReady. -
On each worker node, run:
sudo systemctl status k3s-agent sudo journalctl -u k3s-agent -fIf is not found there either, list all services with:
- User
- Assistant
You ran the
systemctl list-units | grep k3son the master node, and you see only:k3s.servicerunning, which is correct for the master.- No
k3s-agent.serviceis visible here because that's typically running only on the worker nodes.
Next steps:
You must check the worker nodes themselves.
- SSH into the worker nodes (
workerandworker2):
ssh workeror however you access those nodes.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.