ccyunchina-deploy/example/hosts.m-masters.example

70 lines
1.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[deploy]
localhost
#镜像仓库
[registry]
10.2.1.212
#节点配置
#管理节点
[kube-master]
10.2.1.212
10.2.1.170
10.2.1.148
#计算节点
[kube-compute-node]
#存储节点
[kube-storage-node]
10.2.1.212
10.2.1.170
[kube-node:children]
kube-compute-node
kube-storage-node
[kube-cluster:children]
kube-node
kube-master
lb
#代理节点
#多管理节点时必须配置有代理节点
#LB_ROLEmaster、backup、lb_onlymaster\backup表示使用keepalived实现haproxy高可用,lb_only表示不使用keepalived
[lb]
10.2.1.212
10.2.1.170
[elasticsearch]
10.2.1.212
10.2.1.170
[mysql]
10.2.1.148
# 预留组后续添加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/sdb
zstackServerIP=10.1.1.9
zstackServerAdminUser=admin
zstackServerAdminPassword=Greatwall@123
#默认区域
defaultRegionCode=cn-cs-1
defaultRegionName=长沙一区
#专有云访问域名
gwcloudDomain=gwcloud.com