优化example ansible hosts配置

pull/531/head
gjmzj 2019-02-23 14:28:49 +08:00
parent 657a373b3f
commit faccf8209b
8 changed files with 0 additions and 60 deletions

View File

@ -7,18 +7,12 @@
[etcd]
192.168.1.1 NODE_NAME=etcd1
[new-etcd] # 预留组后续添加etcd节点使用
#192.168.1.x NODE_NAME=etcdx
[kube-master]
192.168.1.1
[kube-node]
192.168.1.1
[new-node] # 预留组后续添加node节点使用
#192.168.1.xx
# 参数 NEW_INSTALLyes表示新建no表示使用已有harbor服务器
# 如果不使用域名,可以设置 HARBOR_DOMAIN=""
[harbor]

View File

@ -8,18 +8,12 @@
[etcd]
192.168.1.1 NODE_NAME=etcd1
[new-etcd] # group reserved, add new 'etcd-node' in it
#192.168.1.x NODE_NAME=etcdx
[kube-master]
192.168.1.1
[kube-node]
192.168.1.1
[new-node] # group reserved, add new 'kube-node' in it
#192.168.1.xx
# set 'NEW_INSTALL': 'yes' to install a harbor server; 'no' to integrate with existed one
# if not using domianset 'HARBOR_DOMAIN=""'
[harbor]

View File

@ -9,23 +9,14 @@
192.168.1.2 NODE_NAME=etcd2
192.168.1.3 NODE_NAME=etcd3
[new-etcd] # 预留组后续添加etcd节点使用
#192.168.1.x NODE_NAME=etcdx
[kube-master]
192.168.1.2
192.168.1.3
[new-master] # 预留组后续添加master节点使用
#192.168.1.5
[kube-node]
192.168.1.1
192.168.1.4
[new-node] # 预留组后续添加node节点使用
#192.168.1.xx
# 参数 NEW_INSTALLyes表示新建no表示使用已有harbor服务器
# 如果不使用域名,可以设置 HARBOR_DOMAIN=""
[harbor]

View File

@ -10,23 +10,14 @@
192.168.1.2 NODE_NAME=etcd2
192.168.1.3 NODE_NAME=etcd3
[new-etcd] # group reserved, add new 'etcd-node' in it
#192.168.1.x NODE_NAME=etcdx
[kube-master]
192.168.1.2
192.168.1.3
[new-master] # group reserved, add new 'kube-master' in it
#192.168.1.5
[kube-node]
192.168.1.1
192.168.1.4
[new-node] # group reserved, add new 'kube-node' in it
#192.168.1.xx
# set 'NEW_INSTALL': 'yes' to install a harbor server; 'no' to integrate with existed one
# if not using domianset 'HARBOR_DOMAIN=""'
[harbor]

View File

@ -9,23 +9,14 @@
192.168.1.2 NODE_NAME=etcd2
192.168.1.3 NODE_NAME=etcd3
[new-etcd] # 预留组后续添加etcd节点使用
#192.168.1.x NODE_NAME=etcdx
[kube-master]
192.168.1.1
192.168.1.2
[new-master] # 预留组后续添加master节点使用
#192.168.1.5
[kube-node]
192.168.1.3
192.168.1.4
[new-node] # 预留组后续添加node节点使用
#192.168.1.xx
# 参数 NEW_INSTALLyes表示新建no表示使用已有harbor服务器
# 如果不使用域名,可以设置 HARBOR_DOMAIN=""
[harbor]

View File

@ -10,23 +10,14 @@
192.168.1.2 NODE_NAME=etcd2
192.168.1.3 NODE_NAME=etcd3
[new-etcd] # group reserved, add new 'etcd-node' in it
#192.168.1.x NODE_NAME=etcdx
[kube-master]
192.168.1.1
192.168.1.2
[new-master] # group reserved, add new 'kube-master' in it
#192.168.1.5
[kube-node]
192.168.1.3
192.168.1.4
[new-node] # group reserved, add new 'kube-node' in it
#192.168.1.xx
# set 'NEW_INSTALL': 'yes' to install a harbor server; 'no' to integrate with existed one
# if not using domianset 'HARBOR_DOMAIN=""'
[harbor]

View File

@ -7,9 +7,6 @@
[etcd]
192.168.1.1 NODE_NAME=etcd1
[new-etcd] # 预留组后续添加etcd节点使用
#192.168.1.x NODE_NAME=etcdx
[kube-master]
192.168.1.1
@ -17,9 +14,6 @@
192.168.1.2
192.168.1.3
[new-node] # 预留组后续添加node节点使用
#192.168.1.xx
# 参数 NEW_INSTALLyes表示新建no表示使用已有harbor服务器
# 如果不使用域名,可以设置 HARBOR_DOMAIN=""
[harbor]

View File

@ -8,9 +8,6 @@
[etcd]
192.168.1.1 NODE_NAME=etcd1
[new-etcd] # group reserved, add new 'etcd-node' in it
#192.168.1.x NODE_NAME=etcdx
[kube-master]
192.168.1.1
@ -18,9 +15,6 @@
192.168.1.2
192.168.1.3
[new-node] # group reserved, add new 'kube-node' in it
#192.168.1.xx
# set 'NEW_INSTALL': 'yes' to install a harbor server; 'no' to integrate with existed one
# if not using domianset 'HARBOR_DOMAIN=""'
[harbor]