hello I have been trying to install k3s on a xilinx board PYNQ Z1 and I keep getting status notready when I run Kubectl get nodes. below is the output. Can someone help me? I am new to kubernetes
root@pynq:/home/xilinx# kubectl get nodes
NAME STATUS ROLES AGE VERSION
pynq NotReady control-plane,master 8d v1.25.4+k3s1
root@pynq:/home/xilinx# kubectl describe node pynq
Name: pynq
Roles: control-plane,master
Labels:
beta.kubernetes.io/arch=arm
beta.kubernetes.io/instance-type=k3s
beta.kubernetes.io/os=linux
egress.k3s.io/cluster=true
kubernetes.io/arch=arm
kubernetes.io/hostname=pynq
kubernetes.io/os=linux
node-role.kubernetes.io/control-plane=true
node-role.kubernetes.io/master=true
node.kubernetes.io/instance-type=k3s
Annotations:
flannel.alpha.coreos.com/backend-data: {"VNI":1,"VtepMAC":"86
e8b1
2660:bc"}
flannel.alpha.coreos.com/backend-type: vxlan
flannel.alpha.coreos.com/kube-subnet-manager: true
flannel.alpha.coreos.com/public-ip: 192.168.0.115
k3s.io/hostname: pynq
k3s.io/internal-ip: 192.168.0.115
k3s.io/node-args: ["server","--flannel-backend","none"]
k3s.io/node-config-hash: 447SKVE725DJE7IL6YFZKSK35XQASDGUESLF6EHAW2PGVRUPL5OQ====
k3s.io/node-env:
{"K3S_DATA_DIR":"/var/lib/rancher/k3s/data/bf78b680b175415f467303cca6d37bb8d7eac8bf0b6bd0a65a72cc26d01efbdb","K3S_KUBECONFIG_MODE":"644"}
node.alpha.kubernetes.io/ttl: 0
volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp: Wed, 30 Nov 2022 08
2356 +0000
Taints:
node.kubernetes.io/not-ready:NoSchedule
Unschedulable: false
Lease:
HolderIdentity: pynq
AcquireTime: <unset>
RenewTime: Thu, 08 Dec 2022 18
1257 +0000
Conditions:
Type Status LastHeartbeatTime LastTransitionTime Reason Message
---- ------ ----------------- ------------------ ------ -------
MemoryPressure False Thu, 08 Dec 2022 18
0934 +0000 Wed, 30 Nov 2022 08
3442 +0000 KubeletHasSufficientMemory kubelet has sufficient memory available
DiskPressure False Thu, 08 Dec 2022 18
0934 +0000 Wed, 30 Nov 2022 08
3442 +0000 KubeletHasNoDiskPressure kubelet has no disk pressure
PIDPressure False Thu, 08 Dec 2022 18
0934 +0000 Wed, 30 Nov 2022 08
3442 +0000 KubeletHasSufficientPID kubelet has sufficient PID available
Ready False Thu, 08 Dec 2022 18
0934 +0000 Thu, 01 Dec 2022 06
2339 +0000 KubeletNotReady container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized
Addresses:
InternalIP: 192.168.0.115
Hostname: pynq
Capacity:
cpu: 2
ephemeral-storage: 15089632Ki
memory: 505428Ki
pods: 110
Allocatable:
cpu: 2
ephemeral-storage: 14679193999
memory: 505428Ki
pods: 110
System Info:
Machine ID: 5a5ef3f8a3034b4c8b00d42b6daec8fb
System UUID: 5a5ef3f8a3034b4c8b00d42b6daec8fb
Boot ID: 63304d8c-9a1e-4d60-9f29-105755b27543
Kernel Version: 5.15.19-xilinx-v2022.1
OS Image: PynqLinux, based on Ubuntu 22.04
Operating System: linux
Architecture: arm
Container Runtime Version:
containerd://1.6.8-k3s1
Kubelet Version: v1.25.4+k3s1
Kube-Proxy Version: v1.25.4+k3s1
PodCIDR: 10.42.0.0/24
PodCIDRs: 10.42.0.0/24
ProviderID:
k3s://pynq
Non-terminated Pods: (5 in total)
Namespace Name CPU Requests CPU Limits Memory Requests Memory Limits Age
--------- ---- ------------ ---------- --------------- ------------- ---
kube-system helm-install-traefik-6l4hc 0 (0%) 0 (0%) 0 (0%) 0 (0%) 8d
kube-system helm-install-traefik-crd-lbmbv 0 (0%) 0 (0%) 0 (0%) 0 (0%) 8d
kube-system local-path-provisioner-79f67d76f8-rbtxb 0 (0%) 0 (0%) 0 (0%) 0 (0%) 8d
kube-system metrics-server-5c8978b444-9z4dk 100m (5%) 0 (0%) 70Mi (14%) 0 (0%) 8d
kube-system coredns-597584b69b-2sd6j 100m (5%) 0 (0%) 70Mi (14%) 170Mi (34%) 8d
Allocated resources:
(Total limits may be over 100 percent, i.e., overcommitted.)
Resource Requests Limits
-------- -------- ------
cpu 200m (10%) 0 (0%)
memory 140Mi (28%) 170Mi (34%)
ephemeral-storage 0 (0%) 0 (0%)
Events: <none>