kubespray/inventory/inventory.example

30 lines
713 B
Plaintext
Raw Normal View History

2015-12-13 02:32:18 +08:00
[kube-master]
node1 ansible_ssh_host=10.99.0.26
node2 ansible_ssh_host=10.99.0.27
2015-12-13 02:32:18 +08:00
[etcd]
node1 ansible_ssh_host=10.99.0.26
node2 ansible_ssh_host=10.99.0.27
node3 ansible_ssh_host=10.99.0.4
2015-12-18 04:32:06 +08:00
2015-12-13 02:32:18 +08:00
[kube-node]
node2 ansible_ssh_host=10.99.0.27
node3 ansible_ssh_host=10.99.0.4
node4 ansible_ssh_host=10.99.0.5
node5 ansible_ssh_host=10.99.0.36
node6 ansible_ssh_host=10.99.0.37
2015-12-13 02:32:18 +08:00
[paris]
node1 ansible_ssh_host=10.99.0.26
node3 ansible_ssh_host=10.99.0.4 local_as=xxxxxxxx
node4 ansible_ssh_host=10.99.0.5 local_as=xxxxxxxx
2015-12-13 02:32:18 +08:00
[new-york]
node2 ansible_ssh_host=10.99.0.27
node5 ansible_ssh_host=10.99.0.36 local_as=xxxxxxxx
node6 ansible_ssh_host=10.99.0.37 local_as=xxxxxxxx
2015-12-13 02:32:18 +08:00
[k8s-cluster:children]
kube-node
kube-master