handsome-whale-31944
12/05/2024, 1:26 AM[root@ml-57-9 dig-deploy-doc]# kc get po -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system cloud-controller-manager-ml-57-9 1/1 Running 0 5h29m
kube-system etcd-ml-57-9 1/1 Running 0 5h28m
kube-system helm-install-rke2-canal-wss69 0/1 Completed 0 5h29m
kube-system helm-install-rke2-coredns-zl994 0/1 Completed 0 5h29m
kube-system helm-install-rke2-ingress-nginx-hxwnf 0/1 Pending 0 5h29m
kube-system helm-install-rke2-metrics-server-txcn5 0/1 Pending 0 5h29m
kube-system helm-install-rke2-snapshot-controller-crd-gts2j 0/1 Pending 0 5h29m
kube-system helm-install-rke2-snapshot-controller-vn2q2 0/1 Pending 0 5h29m
kube-system helm-install-rke2-snapshot-validation-webhook-lqf58 0/1 Pending 0 5h29m
kube-system kube-apiserver-ml-57-9 1/1 Running 0 5h29m
kube-system kube-controller-manager-ml-57-9 1/1 Running 0 5h29m
kube-system kube-proxy-ml-57-9 1/1 Running 0 33m
kube-system kube-scheduler-ml-57-9 1/1 Running 0 5h29m
kube-system rke2-canal-vlc99 0/2 Init:CrashLoopBackOff 62 (4m43s ago) 5h28m
kube-system rke2-coredns-rke2-coredns-7d8f866c78-94qf9 0/1 Pending 0 5h28m
kube-system rke2-coredns-rke2-coredns-autoscaler-75bc99ff8-cn5pt 0/1 Pending 0 5h28m
I checked the logs of rke2-canal-vlc99, found install-cni
is not terminated:
2024-12-04 08:54:57.221 [INFO][1] cni-installer/install.go 419: File is already up to date, skipping file="/host/opt/cni/bin/tap"
2024-12-04 08:54:57.234 [INFO][1] cni-installer/install.go 228: Installed /host/opt/cni/bin/tap
2024-12-04 08:54:57.241 [INFO][1] cni-installer/install.go 419: File is already up to date, skipping file="/host/opt/cni/bin/tuning"
2024-12-04 08:54:57.247 [INFO][1] cni-installer/install.go 228: Installed /host/opt/cni/bin/tuning
2024-12-04 08:54:57.261 [INFO][1] cni-installer/install.go 419: File is already up to date, skipping file="/host/opt/cni/bin/vlan"
2024-12-04 08:54:57.278 [INFO][1] cni-installer/install.go 228: Installed /host/opt/cni/bin/vlan
2024-12-04 08:54:57.285 [INFO][1] cni-installer/install.go 419: File is already up to date, skipping file="/host/opt/cni/bin/vrf"
2024-12-04 08:54:57.294 [INFO][1] cni-installer/install.go 228: Installed /host/opt/cni/bin/vrf
2024-12-04 08:54:57.295 [INFO][1] cni-installer/install.go 232: Wrote Calico CNI binaries to /host/opt/cni/bin
2024-12-04 08:54:57.295 [INFO][1] cni-installer/install.go 237: CNI plugin version: v3.28.1
2024-12-04 08:54:57.295 [INFO][1] cni-installer/install.go 189: /host/secondary-bin-dir is not writeable, skipping
2024-12-04 08:54:57.295 [WARNING][1] cni-installer/winutils.go 150: Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
2024-12-04 08:55:27.297 [ERROR][1] cni-installer/token_watch.go 108: Unable to create token for CNI kubeconfig error=Post "<https://10.43.0.1:443/api/v1/namespaces/kube-system/serviceaccounts/canal/token>": dial tcp 10.43.0.1:443: i/o timeout
2024-12-04 08:55:27.297 [FATAL][1] cni-installer/install.go 482: Unable to create token for CNI kubeconfig error=Post "<https://10.43.0.1:443/api/v1/namespaces/kube-system/serviceaccounts/canal/token>": dial tcp 10.43.0.1:443: i/o timeout
How could I solve this problem? Thanks in advance for any tips or suggestions.❤️
Thread in Slack Conversation