chore: start deprecating mcast cluster discovery
This commit is contained in:
parent
c1d935fd34
commit
bdcc069aac
|
@ -143,7 +143,7 @@ fields("cluster") ->
|
||||||
)},
|
)},
|
||||||
{"discovery_strategy",
|
{"discovery_strategy",
|
||||||
sc(
|
sc(
|
||||||
hoconsc:enum([manual, static, mcast, dns, etcd, k8s]),
|
hoconsc:enum([manual, static, dns, etcd, k8s, mcast]),
|
||||||
#{
|
#{
|
||||||
default => manual,
|
default => manual,
|
||||||
desc => ?DESC(cluster_discovery_strategy),
|
desc => ?DESC(cluster_discovery_strategy),
|
||||||
|
@ -198,7 +198,7 @@ fields("cluster") ->
|
||||||
{"mcast",
|
{"mcast",
|
||||||
sc(
|
sc(
|
||||||
?R_REF(cluster_mcast),
|
?R_REF(cluster_mcast),
|
||||||
#{}
|
#{importance => ?IMPORTANCE_HIDDEN}
|
||||||
)},
|
)},
|
||||||
{"dns",
|
{"dns",
|
||||||
sc(
|
sc(
|
||||||
|
|
|
@ -755,7 +755,9 @@ cluster_discovery_strategy.desc:
|
||||||
- static: Configure static nodes list by setting <code>seeds</code> in config file.<br/>
|
- static: Configure static nodes list by setting <code>seeds</code> in config file.<br/>
|
||||||
- dns: Use DNS A record to discover peer nodes.<br/>
|
- dns: Use DNS A record to discover peer nodes.<br/>
|
||||||
- etcd: Use etcd to discover peer nodes.<br/>
|
- etcd: Use etcd to discover peer nodes.<br/>
|
||||||
- k8s: Use Kubernetes API to discover peer pods."""
|
- k8s: Use Kubernetes API to discover peer pods.
|
||||||
|
- mcast: Deprecated since 5.1, will be removed in 5.2.
|
||||||
|
This supports discovery via UDP multicast."""
|
||||||
|
|
||||||
cluster_discovery_strategy.label:
|
cluster_discovery_strategy.label:
|
||||||
"""Cluster Discovery Strategy"""
|
"""Cluster Discovery Strategy"""
|
||||||
|
|
Loading…
Reference in New Issue