kubeedge / kubeedge

Kubernetes Native Edge Computing Framework (project under CNCF)
https://kubeedge.io
Apache License 2.0
6.79k stars 1.73k forks source link

keadm join以后,为啥在master上看不到这个节点呢? #5016

Open wuzitong123 opened 1 year ago

wuzitong123 commented 1 year ago

root@wuzitong-VMware-Virtual-Platform:~# sudo rm /etc/systemd/system/edgecore.service root@wuzitong-VMware-Virtual-Platform:~# keadm join --cloudcore-ipport=114.115.159.247:10000 --kubeedge-version=1.8.2 --token=1d41629089c2ad2df0cc5b84cc6fcdf7e8d208f858b08dcc371e93c0b098de8c.eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTQ4MTMwNDF9.W5dV8VjDxhlHn99bMp_0UevI59vwFRBPXNZ2RA6zhRk Host has mosquit+ already installed and running. Hence skipping the installation steps !!! Expected or Default KubeEdge version 1.8.2 is already downloaded and will checksum for it. kubeedge-v1.8.2-linux-amd64.tar.gz checksum: checksum_kubeedge-v1.8.2-linux-amd64.tar.gz.txt content: Expected or Default checksum file checksum_kubeedge-v1.8.2-linux-amd64.tar.gz.txt is already downloaded. Expected or Default KubeEdge version 1.8.2 is already downloaded [Run as service] service file already exisits in /etc/kubeedge//edgecore.service, skip download kubeedge-v1.8.2-linux-amd64/ kubeedge-v1.8.2-linux-amd64/edge/ kubeedge-v1.8.2-linux-amd64/edge/edgecore kubeedge-v1.8.2-linux-amd64/cloud/ kubeedge-v1.8.2-linux-amd64/cloud/csidriver/ kubeedge-v1.8.2-linux-amd64/cloud/csidriver/csidriver kubeedge-v1.8.2-linux-amd64/cloud/admission/ kubeedge-v1.8.2-linux-amd64/cloud/admission/admission kubeedge-v1.8.2-linux-amd64/cloud/cloudcore/ kubeedge-v1.8.2-linux-amd64/cloud/cloudcore/cloudcore kubeedge-v1.8.2-linux-amd64/version

KubeEdge edgecore is running, For logs visit: journalctl -u edgecore.service -b

root@wuzitong-VMware-Virtual-Platform:~# systemctl status edgecore ● edgecore.service Loaded: loaded (/etc/systemd/system/edgecore.service; enabled; preset: enabled) Active: active (running) since Fri 2023-09-15 17:40:43 CST; 11s ago Main PID: 27507 (edgecore) Tasks: 8 (limit: 4557) Memory: 13.9M CPU: 188ms CGroup: /system.slice/edgecore.service └─27507 /usr/local/bin/edgecore

9月 15 17:40:43 wuzitong-VMware-Virtual-Platform systemd[1]: Started edgecore.service. root@wuzitong-VMware-Virtual-Platform:~# journalctl -u edgecore -n 50 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: k8s.io/client-go/tools/cache.(controller).processLoop(0xc0009e1b90) 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/k8s.io/client-go/tools/cache/controlle> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0xc000d22e68) 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/k8s.io/apimachinery/pkg/util/wait/wait> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0xc000d22e68, 0x30affa0, 0xc001301110, 0xc001232401> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/k8s.io/apimachinery/pkg/util/wait/wait> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc000d22e68, 0x3b9aca00, 0x0, 0xc000148201, 0xc0011> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/k8s.io/apimachinery/pkg/util/wait/wait> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: k8s.io/apimachinery/pkg/util/wait.Until(...) 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/k8s.io/apimachinery/pkg/util/wait/wait> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: k8s.io/client-go/tools/cache.(controller).Run(0xc0009e1b90, 0xc001137440) 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/k8s.io/client-go/tools/cache/controlle> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: k8s.io/client-go/tools/cache.(sharedIndexInformer).Run(0xc000233f40, 0xc001137440) 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/k8s.io/client-go/tools/cache/shared_in> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: created by k8s.io/client-go/informers.(sharedInformerFactory).Start 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/k8s.io/client-go/informers/factory.go:> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: goroutine 511 [select]: 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0xc0001dfea0, 0x30affa0, 0xc0000eca80, 0x1, 0xc0000> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/k8s.io/apimachinery/pkg/util/wait/wait> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc0001dfea0, 0x2540be400, 0x0, 0x1, 0xc00009c0c0) 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/k8s.io/apimachinery/pkg/util/wait/wait> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: k8s.io/apimachinery/pkg/util/wait.Until(...) 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/k8s.io/apimachinery/pkg/util/wait/wait> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: k8s.io/apimachinery/pkg/util/wait.Forever(0xc0001dfea0, 0x2540be400) 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/k8s.io/apimachinery/pkg/util/wait/wait> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: created by k8s.io/kubernetes/pkg/kubelet/logs.(containerLogManager).Start 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/k8s.io/kubernetes/pkg/kubelet/logs/con> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: goroutine 433 [select]: 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: github.com/google/cadvisor/container/raw.(rawContainerWatcher).Start.func1(0xc000a972e0, 0xc0004f> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/github.com/google/cadvisor/container/r> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: created by github.com/google/cadvisor/container/raw.(rawContainerWatcher).Start 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/github.com/google/cadvisor/container/r> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: goroutine 434 [select]: 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: github.com/google/cadvisor/manager.(manager).watchForNewContainers.func1(0xc0002d3400, 0xc0001994> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/github.com/google/cadvisor/manager/man> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: created by github.com/google/cadvisor/manager.(manager).watchForNewContainers 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/github.com/google/cadvisor/manager/man> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: goroutine 435 [select]: 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: github.com/google/cadvisor/manager.(manager).globalHousekeeping(0xc0002d3400, 0xc001136600) 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/github.com/google/cadvisor/manager/man> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: created by github.com/google/cadvisor/manager.(manager).Start 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/github.com/google/cadvisor/manager/man> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: goroutine 436 [select]: 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: github.com/google/cadvisor/manager.(manager).updateMachineInfo(0xc0002d3400, 0xc001136660) 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/github.com/google/cadvisor/manager/man> 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: created by github.com/google/cadvisor/manager.(*manager).Start 9月 15 17:40:42 wuzitong-VMware-Virtual-Platform edgecore[27349]: /root/codes/src/github.com/kubeedge/kubeedge/vendor/github.com/google/cadvisor/manager/man

master节点: root@hecs-104057:/var/log/kubeedge# kubectl get nodes NAME STATUS ROLES AGE VERSION master Ready control-plane,master 25h v1.21.6

Shelley-BaoYue commented 1 year ago

Sorry, v1.8 is no longer maintained. You are advised to upgrade to a later version.