在集群中可以设置自动加入DNS的CNAME记录

This commit is contained in:
GoEdgeLab
2021-09-20 16:38:00 +08:00
parent 466d5e78fa
commit cd42f566f3
3 changed files with 457 additions and 433 deletions

View File

@@ -2,6 +2,8 @@ package dnsconfigs
// ClusterDNSConfig 集群的DNS设置
type ClusterDNSConfig struct {
CNameRecords []string `yaml:"cnameRecords" json:"cnameRecords"` // 自动加入的CNAME
NodesAutoSync bool `yaml:"nodesAutoSync" json:"nodesAutoSync"` // 是否自动同步节点状态
ServersAutoSync bool `yaml:"serversAutoSync" json:"serversAutoSync"` // 是否自动同步服务状态
}