apiVersion: v1
kind: ConfigMap
metadata:
  name: edgecore-configmap-ck54r
  namespace: default
  labels:
    k8s-app: kubeedge
    kubeedge: edgenode
data:
  edge.yaml: |
    mqtt:
        server: tcp://127.0.0.1:1883 # external mqtt broker url.
        internal-server: tcp://127.0.0.1:1884 # internal mqtt broker url.
        mode: 0 # 0: internal mqtt broker enable only. 1: internal and external mqtt broker enable. 2: external mqtt broker enable only.
        qos: 0 # 0: QOSAtMostOnce, 1: QOSAtLeastOnce, 2: QOSExactlyOnce.
        retain: false # if the flag set true, server will store the message and can be delivered to future subscribers.
        session-queue-size: 100 # A size of how many sessions will be handled. default to 100.
    edgehub:
        websocket:
            url: wss://11.242.157.192:31660/e632aba927ea4ac2b575ec1603d56f10/e2e-node-8s1zyotear/events
            certfile: /etc/kubeedge/certs/edge.crt
            keyfile: /etc/kubeedge/certs/edge.key
            handshake-timeout: 30 #second
            write-deadline: 15 # second
            read-deadline: 15 # second
        quic:
            url: 192.168.20.107:31771
            cafile: /etc/kubeedge/certs/rootCA.crt
            certfile: /etc/kubeedge/certs/edge.crt
            keyfile: /etc/kubeedge/certs/edge.key
            handshake-timeout: 30 #second
            write-deadline: 15 # second
            read-deadline: 15 # second
        controller:
            protocol: websocket
            placement: false
            heartbeat: 15  # second
            refresh-ak-sk-interval: 10 # minute
            auth-info-files-path: /var/IEF/secret
            placement-url: https://10.154.193.32:7444/v1/placement_external/message_queue
            project-id: e632aba927ea4ac2b575ec1603d56f10
            node-id: e2e-node-8s1zyotear
    edged:
        register-node-namespace: default
        hostname-override: e2e-node-8s1zyotear
        interface-name: eth0
        edged-memory-capacity-bytes: 7852396000
        node-status-update-frequency: 10 # second
        device-plugin-enabled: false
        gpu-plugin-enabled: false
        image-gc-high-threshold: 80 # percent
        image-gc-low-threshold: 40 # percent
        maximum-dead-containers-per-container: 1
        docker-address: unix:///var/run/docker.sock
        version: 2.0.0
        runtime-type: docker
        remote-runtime-endpoint: unix:///var/run/dockershim.sock
        remote-image-endpoint: unix:///var/run/dockershim.sock
        runtime-request-timeout: 2
        podsandbox-image: k8s.gcr.io/pause
        cgroup-driver: cgroupfs
        node-ip: ""
        cluster-dns: ""
        cluster-domain: ""
    mesh:
        loadbalance:
            strategy-name: RoundRobin
  logging.yaml: |
    loggerLevel: "DEBUG"
    enableRsyslog: false
    logFormatText: true
    writers: [stdout]
  modules.yaml: |
    modules:
        enabled: [eventbus, servicebus, websocket, metaManager, edged, twin, dbTest, handlerstub]
