openyurtio / yurt-edgex-manager

yurt-edgex-manager is an operator for managing EdgeX lifecycle(including deploy, delete, update) in OpenYurt cluster.
Apache License 2.0
18 stars 24 forks source link

[Design] New edgex API #32

Closed lwmqwer closed 1 year ago

lwmqwer commented 2 years ago

\kind design The edge additional components config is too complex. Propose replace with below API and set defaults for users as much as possible

apiVersion: device.openyurt.io/v1alpha1
kind: EdgeX
metadata:
  name: edgex-sample-beijing
  namespace: "beijing"
spec:
  version: jakarta
  poolname: beijing
  componets:
  - name: edgex-core-consul
     labels:
     - core: True
     - database: true
    image: openyurt/consul:1.10.3
    port: 8500
    mountPath: 
     - "/consul/config"
     - "/consul/data"
  - name: edgex-core-data
    image:  openyurt/core-data:2.1.0
rambohe-ch commented 2 years ago

@lwmqwer Will you post a proposal about the new EdgeX API?

lwmqwer commented 2 years ago

@lwmqwer Will you post a proposal about the new EdgeX API?

Sure, I will post it later