mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 12:20:27 +08:00
节点根据健康检查自动上下线
This commit is contained in:
7
pkg/dnsconfigs/cluster_dns_config.go
Normal file
7
pkg/dnsconfigs/cluster_dns_config.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package dnsconfigs
|
||||
|
||||
// 集群的DNS设置
|
||||
type ClusterDNSConfig struct {
|
||||
NodesAutoSync bool `yaml:"nodesAutoSync" json:"nodesAutoSync"` // 是否自动同步节点状态
|
||||
ServersAutoSync bool `yaml:"serversAutoSync" json:"serversAutoSync"` // 是否自动同步服务状态
|
||||
}
|
||||
Reference in New Issue
Block a user