Merge pull request #10943 from zmstone/0605-hide-mcast-cluster-discovery
chore: start deprecating mcast cluster discovery
This commit is contained in:
commit
ce4e49cd9e
@ -143,7 +143,7 @@ fields("cluster") ->
|
||||
)},
|
||||
{"discovery_strategy",
|
||||
sc(
|
||||
hoconsc:enum([manual, static, mcast, dns, etcd, k8s]),
|
||||
hoconsc:enum([manual, static, dns, etcd, k8s, mcast]),
|
||||
#{
|
||||
default => manual,
|
||||
desc => ?DESC(cluster_discovery_strategy),
|
||||
@ -198,7 +198,7 @@ fields("cluster") ->
|
||||
{"mcast",
|
||||
sc(
|
||||
?R_REF(cluster_mcast),
|
||||
#{}
|
||||
#{importance => ?IMPORTANCE_HIDDEN}
|
||||
)},
|
||||
{"dns",
|
||||
sc(
|
||||
|
||||
5
changes/ce/fix-10943.en.md
Normal file
5
changes/ce/fix-10943.en.md
Normal file
@ -0,0 +1,5 @@
|
||||
Deprecated UDP mcast mechanism for cluster discovery.
|
||||
|
||||
This feature has been planed for deprecation since 5.0 mainly due to the lack of
|
||||
actual production use.
|
||||
This feature code is not yet removed in 5.1, but the document interface is demoted.
|
||||
@ -755,7 +755,9 @@ cluster_discovery_strategy.desc:
|
||||
- static: Configure static nodes list by setting <code>seeds</code> in config file.<br/>
|
||||
- dns: Use DNS A record 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"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user