apiVersion: v1
kind: ConfigMap
metadata:
  name: edgemesh-server-cfg
  namespace: kubeedge
  labels:
    k8s-app: kubeedge
    kubeedge: edgemesh-server
data:
  edgemesh-server.yaml: |
    apiVersion: server.edgemesh.config.kubeedge.io/v1alpha1
    kind: EdgeMeshServer
    kubeAPIConfig:
      burst: 200
      contentType: application/vnd.kubernetes.protobuf
      kubeConfig: ""
      master: ""
      qps: 100
    modules:
      tunnel:
        enable: true
        # edgemesh-server will try to fetch advertise address by itself.
        # You also can specify the advertise address for edgemesh-server by advertiseAddress field;
        #advertiseAddress:
        #- 119.8.58.38
        #- 1.1.1.153
        #- 192.168.0.7
