github.com/jingruilea/kubeedge@v1.2.0-beta.0.0.20200410162146-4bb8902b3879/build/crd-samples/devices/led-light-device-instance.yaml (about)

     1  apiVersion: devices.kubeedge.io/v1alpha1
     2  kind: Device
     3  metadata:
     4    name: led-light-instance-01
     5    labels:
     6      description: LEDLight
     7      model: led-light
     8  spec:
     9    deviceModelRef:
    10      name: led-light
    11    nodeSelector:
    12      nodeSelectorTerms:
    13      - matchExpressions:
    14        - key: ''
    15          operator: In
    16          values:
    17          - edge-node1          #pls give your edge node name
    18  status:
    19    twins:
    20      - propertyName: power-status
    21