节点根据健康检查自动上下线

This commit is contained in:
GoEdgeLab
2020-11-15 21:17:37 +08:00
parent d079e44d5d
commit 600f89c051
8 changed files with 950 additions and 919 deletions

View File

@@ -0,0 +1,7 @@
package dnsconfigs
// 集群的DNS设置
type ClusterDNSConfig struct {
NodesAutoSync bool `yaml:"nodesAutoSync" json:"nodesAutoSync"` // 是否自动同步节点状态
ServersAutoSync bool `yaml:"serversAutoSync" json:"serversAutoSync"` // 是否自动同步服务状态
}