# 扩展 EMQX 集群

EMQX 集群介绍 (opens new window)

Note: 现在只支持k8s的节点发现策略

# 集群详细配置

集群配置 (opens new window)

# 集群配置例子

...
cluster:
    name: emqx
    k8s:
      apiserver: <https://xxxxxxxx>
      service_name: emqx
      address_type: dns
      suffix: pod.cluster.local
      app_name: emqx
      namespace: default
...

1
2
3
4
5
6
7
8
9
10
11
12

# 依赖

cluster.discoverycluster.k8s.address_typecluster.k8s.suffix
k8shostnamesvc.cluster.local
ip
dnspod.cluster.local