83 lines
1.5 KiB
INI
83 lines
1.5 KiB
INI
[deploy]
|
||
localhost
|
||
|
||
#镜像仓库
|
||
[registry]
|
||
10.2.1.99
|
||
|
||
#节点配置
|
||
#管理节点
|
||
[kube-master]
|
||
10.2.1.99
|
||
10.2.1.233
|
||
10.2.1.235
|
||
|
||
#计算节点
|
||
[kube-compute-node]
|
||
|
||
#存储节点
|
||
[kube-storage-node]
|
||
10.2.1.99
|
||
10.2.1.233
|
||
10.2.1.235
|
||
|
||
[kube-node:children]
|
||
kube-compute-node
|
||
kube-storage-node
|
||
|
||
[kube-cluster:children]
|
||
kube-node
|
||
kube-master
|
||
lb
|
||
|
||
|
||
#代理节点
|
||
#多管理节点时必须配置有代理节点
|
||
#LB_ROLE:master、backup、lb_only,master\backup表示使用keepalived实现haproxy高可用,lb_only表示不使用keepalived
|
||
[lb]
|
||
10.2.1.99
|
||
10.2.1.233
|
||
|
||
[elasticsearch]
|
||
10.2.1.99
|
||
10.2.1.233
|
||
|
||
[mysql]
|
||
10.2.1.235
|
||
10.2.1.233
|
||
|
||
# 预留组,后续添加node节点使用
|
||
[new-node]
|
||
|
||
[kube-cluster:vars]
|
||
ansible_python_interpreter=/usr/bin/python3
|
||
|
||
[all:vars]
|
||
#集群 MASTER IP 如果单master部署,则该值为master ip,如果多master部署,则改值为lb的vip
|
||
MASTER_IP="10.2.1.164"
|
||
|
||
#gfs磁盘设备名
|
||
gfs_device=/dev/sda
|
||
|
||
zstackServerIP=10.1.1.9
|
||
zstackServerAdminUser=admin
|
||
zstackServerAdminPassword=Greatwall@123
|
||
|
||
#默认区域
|
||
defaultRegionCode=cn-cs-1
|
||
defaultRegionName=长沙一区
|
||
|
||
#专有云访问域名
|
||
gwcloudDomain=gwcloud.com
|
||
|
||
#专有云告警邮箱服务器
|
||
monitorEmailEnable=true
|
||
monitorEmailHost=mail.greatwall.com.cn
|
||
monitorEmailPort=465
|
||
monitorEmailUsername=hnck
|
||
monitorEmailFrom=hnck@greatwall.com.cn
|
||
monitorEmailPassword=Eghucn-91406
|
||
|
||
#ES 索引使用的mysql binlog服务器root密码, 取mysql的第一个服务器的密码
|
||
mysqlBinlogServerPassword=greatwall@123
|