Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

[Question]Is there the demo:edgex device creating by k8s API? #29

Open
snowfly568790005 opened this issue May 13, 2022 · 4 comments
Open
Assignees

Comments

@snowfly568790005
Copy link

What happened: I dont know how to create device/deviceprofile by k8s API when i want integrate openyurt with thingsboard cloud like.So I can compare the two device provide way: k8s API and MQTT API
What you expected to happen: give the demo by k8s API with java client better
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Is there any project about cloud web consol which can manage device/device profile/edgex instances /protocals such like IoT Cloud ManageMent Suite(for Edgex or Other Gateway)?

@rambohe-ch
Copy link
Member

/assign @wawlian @qclc

@qclc
Copy link
Member

qclc commented May 13, 2022

Device/deviceProfile can be regarded as a common Custom Resource. At present, there is no demo related to the client, but the general implementation steps are the same as accessing other custom resources: 1. First, generate the client corresponding to the custom resource; 2. Then use the client to access related custom resources in k8s.
(The definitions of the above two CRDs are in the following two directories: device_types.go and deviceprofile_types.go)
@snowfly568790005

@wawlian
Copy link
Contributor

wawlian commented May 18, 2022

@snowfly568790005 we will sync the api definitions to an individual repo yurt-device-controller-api and generate versioned clientsets convenient for other projects in about 1~2 weeks. Demos will be added there either.

@wawlian
Copy link
Contributor

wawlian commented Mar 22, 2023

This task depends on yurt-iot-manager 98

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Status: No Status
Development

No branches or pull requests

4 participants