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

mapper映射器 #106

Open
zzzzzzyzz opened this issue Jul 20, 2023 · 4 comments
Open

mapper映射器 #106

zzzzzzyzz opened this issue Jul 20, 2023 · 4 comments

Comments

@zzzzzzyzz
Copy link

Can Kubeedge currently map a machine node through the current mapper

@QiQi-OvO
Copy link
Contributor

I think you can abstract a machine node into a device, use CRD to describe the attributes of your node. Your idea is very interesting, welcome to continue providing some details. :)

@zzzzzzyzz
Copy link
Author

I have considered this approach, but I am uncertain if the nodes support CRDs. Additionally, there are differences in the way devices and nodes operate

@QiQi-OvO
Copy link
Contributor

CRD has some custom fields that allow developers to customize thier device, u can find some example in this, for example random-device-instance.yaml and random-device-model.yaml implemented a virtual device that generates random numbers. For another question, I think that u can establish a server on the node, which collects indicators that need to be reported to kubeedge. The mapper can obtain and change the corresponding data through the GET/POST method. You can attend our community meeting every Wednesday afternoon and we can discuss more details. Of course, if you have any questions, you can continue to communicate with me here.

@zzzzzzyzz
Copy link
Author

Alright, thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants