mirror of https://github.com/easzlab/kubeasz.git
优化example ansible hosts配置
parent
657a373b3f
commit
faccf8209b
|
@ -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_INSTALL:yes表示新建,no表示使用已有harbor服务器
|
||||
# 如果不使用域名,可以设置 HARBOR_DOMAIN=""
|
||||
[harbor]
|
||||
|
|
|
@ -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 domian,set 'HARBOR_DOMAIN=""'
|
||||
[harbor]
|
||||
|
|
|
@ -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_INSTALL:yes表示新建,no表示使用已有harbor服务器
|
||||
# 如果不使用域名,可以设置 HARBOR_DOMAIN=""
|
||||
[harbor]
|
||||
|
|
|
@ -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 domian,set 'HARBOR_DOMAIN=""'
|
||||
[harbor]
|
||||
|
|
|
@ -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_INSTALL:yes表示新建,no表示使用已有harbor服务器
|
||||
# 如果不使用域名,可以设置 HARBOR_DOMAIN=""
|
||||
[harbor]
|
||||
|
|
|
@ -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 domian,set 'HARBOR_DOMAIN=""'
|
||||
[harbor]
|
||||
|
|
|
@ -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_INSTALL:yes表示新建,no表示使用已有harbor服务器
|
||||
# 如果不使用域名,可以设置 HARBOR_DOMAIN=""
|
||||
[harbor]
|
||||
|
|
|
@ -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 domian,set 'HARBOR_DOMAIN=""'
|
||||
[harbor]
|
||||
|
|
Loading…
Reference in New Issue