Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Watle-fan opened this issue May 15, 2024 · 6 comments
Closed

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

Watle-fan opened this issue May 15, 2024 · 6 comments
Labels
kind/question Indicates an issue that is a support question.

Comments

@Watle-fan
Copy link

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:

  • Kubernetes version (use kubectl version):
  • KubeEdge version(e.g. cloudcore --version and edgecore --version):

keadm init shows success, but the cloudcore process cannot be found, and the corresponding file is not generated in the corresponding /etc/kubeedge folder. I used isuald instead of docker. Will this replacement container affect keadm init? Modify the relevant configuration files so that keadm init can initialize successfully? kubernets version: 1.24, kubeedge version: 1.15, isulad version: 2.1.5
add58cd7a183eacee73aa55cd2feb5a
Before executing the above keadm init command, I have executed the following command for taint tolerance. I uploaded the kubeedge-v1.15.0-linux-amd64.tar.gz and checksum_kubeedge-v1.15.0-linux-amd64.tar.gz.txt files in the etc/kubeedge/ directory, but after executing the keadm init command, the above problem occurred, and there are no task files in the etc/kubeedge/ folder, including the files I uploaded myself.

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

@Watle-fan Watle-fan added the kind/question Indicates an issue that is a support question. label May 15, 2024
@thinkeng
Copy link

kubectl get pod -n kubeedge

@Watle-fan
Copy link
Author

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
Copy link
Contributor

wbc6080 commented May 15, 2024

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
Copy link
Author

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
Copy link
Collaborator

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

@Watle-fan
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Indicates an issue that is a support question.
Projects
None yet
Development

No branches or pull requests

4 participants