openyurtio / yurt-device-controller

This repository contains the device-controller that leverages EdgeX Foundry to manage edge devices
Apache License 2.0
14 stars 15 forks source link

How to deploy the device service? #9

Closed khalid-huang closed 2 years ago

khalid-huang commented 3 years ago

In edgex, we need a device service to communicate with device, link, but I do not find how to deploy a device service for device in the tutorial.

qclc commented 3 years ago

@khalid-jobs Hi, in version 0.1.0, device service needs to be deployed by deploying edgex foundry instance. The details are as follows:

  1. Add additinalservices when creating EdgeX CR;
  2. Then EdgeX controller will be responsible for deploying device service to the corresponding node pool/node.

See this deployment example of yurt-edgex-manager for details: https://github.com/openyurtio/yurt-edgex-manager/blob/main/config/samples/hangzhou.yaml

khalid-huang commented 3 years ago

ok, thanks