2016-02-13 22:16:28 +08:00
|
|
|
node1 ansible_ssh_host={{ec2.instances[0].public_ip}} ansible_ssh_user={{ssh_user}}
|
|
|
|
node2 ansible_ssh_host={{ec2.instances[1].public_ip}} ansible_ssh_user={{ssh_user}}
|
|
|
|
node3 ansible_ssh_host={{ec2.instances[2].public_ip}} ansible_ssh_user={{ssh_user}}
|
2016-02-10 18:51:39 +08:00
|
|
|
|
|
|
|
[kube-master]
|
|
|
|
node1
|
|
|
|
node2
|
|
|
|
|
|
|
|
[kube-node]
|
|
|
|
node1
|
|
|
|
node2
|
|
|
|
node3
|
|
|
|
|
|
|
|
[etcd]
|
|
|
|
node1
|
|
|
|
node2
|
|
|
|
|
2017-02-09 05:41:36 +08:00
|
|
|
[vault]
|
|
|
|
node1
|
|
|
|
node2
|
|
|
|
|
2016-02-10 18:51:39 +08:00
|
|
|
[k8s-cluster:children]
|
|
|
|
kube-node
|
|
|
|
kube-master
|