github.com/midokura/kubeedge@v1.2.0-mido.0/build/edge/kubernetes/03-configmap-edgenodeconf.yaml (about)

     1  apiVersion: v1
     2  kind: ConfigMap
     3  metadata:
     4    name: edgenodeconf
     5    namespace: kubeedge
     6    labels:
     7      k8s-app: kubeedge
     8      kubeedge: edgenode
     9  data:
    10    edge.yaml: |
    11      mqtt:
    12          server: tcp://127.0.0.1:1883 # external mqtt broker url.
    13          internal-server: tcp://127.0.0.1:1884 # internal mqtt broker url.
    14          mode: 0 # 0: internal mqtt broker enable only. 1: internal and external mqtt broker enable. 2: external mqtt broker enable only.
    15          qos: 0 # 0: QOSAtMostOnce, 1: QOSAtLeastOnce, 2: QOSExactlyOnce.
    16          retain: false # if the flag set true, server will store the message and can be delivered to future subscribers.
    17          session-queue-size: 100 # A size of how many sessions will be handled. default to 100.
    18      edgehub:
    19          websocket:
    20              url: wss://0.0.0.0:10000/e632aba927ea4ac2b575ec1603d56f10/edgenode1/events
    21              certfile: /etc/kubeedge/certs/edge.crt
    22              keyfile: /etc/kubeedge/certs/edge.key
    23              handshake-timeout: 30 #second
    24              write-deadline: 15 # second
    25              read-deadline: 15 # second
    26          controller:
    27              placement: false
    28              heartbeat: 15  # second
    29              refresh-ak-sk-interval: 10 # minute
    30              auth-info-files-path: /var/IEF/secret
    31              placement-url: https://10.154.193.32:7444/v1/placement_external/message_queue
    32              project-id: e632aba927ea4ac2b575ec1603d56f10
    33              node-id: edgenode1
    34      edged:
    35          register-node-namespace: default
    36          hostname-override: edgenode1
    37          interface-name: eth0
    38          node-status-update-frequency: 10 # second
    39          device-plugin-enabled: false
    40          gpu-plugin-enabled: false
    41          image-gc-high-threshold: 80 # percent
    42          image-gc-low-threshold: 40 # percent
    43          maximum-dead-containers-per-container: 1
    44          docker-address: tcp://localhost:2375
    45          version: 2.0.0
    46    modules.yaml: |
    47      modules:
    48          enabled: [eventbus, servicebus, websocket, metaManager, edged, twin, dbTest]