k8s-install/hosts

57 lines
907 B
INI
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]
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_ROLEmaster、backup、lb_onlymaster\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