57 lines
907 B
INI
57 lines
907 B
INI
[deploy]
|
||
10.1.1.1
|
||
|
||
#节点配置
|
||
#管理节点
|
||
[kube-master]
|
||
10.1.1.1
|
||
10.1.1.2
|
||
10.1.1.3
|
||
|
||
#计算节点
|
||
[kube-compute-node]
|
||
10.1.1.4
|
||
10.1.1.5
|
||
|
||
#存储节点
|
||
[kube-storage-node]
|
||
10.1.1.1
|
||
10.1.1.2
|
||
10.1.1.3
|
||
|
||
[kube-node:children]
|
||
kube-compute-node
|
||
kube-storage-node
|
||
|
||
[kube-cluster:children]
|
||
kube-node
|
||
kube-master
|
||
lb
|
||
|
||
[elasticsearch]
|
||
10.1.1.1
|
||
10.1.1.2
|
||
10.1.1.3
|
||
|
||
#代理节点
|
||
#多管理节点时必须配置有代理节点
|
||
#LB_ROLE:master、backup、lb_only,master\backup表示使用keepalived实现haproxy高可用,lb_only表示不使用keepalived
|
||
[lb]
|
||
10.1.1.1
|
||
10.1.1.2
|
||
|
||
# 预留组,后续添加node节点使用
|
||
[new-node]
|
||
|
||
[all:vars]
|
||
#集群 MASTER IP 如果单master部署,则该值为master ip,如果多master部署,则改值为lb的vip
|
||
MASTER_IP=10.1.1.10
|
||
|
||
# 基础镜像
|
||
BASE_IMAGE_URL=registry.aliyuncs.com
|
||
|
||
#gfs磁盘设备名
|
||
gfs_device=/dev/sdb
|
||
|
||
ansible_python_interpreter=/usr/bin/python3
|