kubeedge / kubeedge

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

keadm init shows success, but the cloudcore process cannot be found #5612

Closed Watle-fan closed 3 weeks ago

Watle-fan commented 1 month ago

What happened and what you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

kubectl describe nodes cloud | grep Taints kubectl taint nodes cloud node-role.kubernetes.io/control-plane:NoSchedule-

thinkeng commented 1 month ago

kubectl get pod -n kubeedge

Watle-fan commented 1 month ago

kubectl get pod -n kubeedge

image After I reset and re-executed it, there was a cloudcore process, but there was still no cloudcore.service under etc/kubeedge, and the uploaded compressed package was gone.

wbc6080 commented 1 month ago

Do you want to view cloudcore logs? Because cloudcore has two methods: binary deployment and keadm deployment. Binary deployment can check the log through cloudcore.service, but keadm deployment deploys cloudcore in the form of pod. You can refer to https://kubeedge.io/docs/faq/setup#how-to-check-cloudcore-logs

Watle-fan commented 1 month ago

Do you want to view cloudcore logs? Because cloudcore has two methods: binary deployment and keadm deployment. Binary deployment can check the log through cloudcore.service, but keadm deployment deploys cloudcore in the form of pod. You can refer to https://kubeedge.io/docs/faq/setup#how-to-check-cloudcore-logs However, my logs still show some errors:

ad82be8a68375f9a2eb5553efcb28ac 20d530192b95d781063e12cb72ccac5
Shelley-BaoYue commented 1 month ago

using v1.15.2 but not v1.15.0 to fix the error log

Watle-fan commented 3 weeks ago

This issue has been resolved, mainly because since v1.10, CloudCore is running in container mode instead of process mode, and you can see the CloudCore image by looking at docker images。

c89291ae8102deeca79bd8f0ba3e37a