Created
April 28, 2017 08:54
-
-
Save Elexy/f51f69ced63dac1f9f5b7ad528476289 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat inventory/kubernetes.ini | |
#master01 ansible_ssh_host=master01.vanlanschot.cobrowser.com | |
master02 ansible_ssh_host=master02.vanlanschot.cobrowser.com | |
node101 ansible_ssh_host=node101.vanlanschot.cobrowser.com | |
node102 ansible_ssh_host=node102.vanlanschot.cobrowser.com | |
node103 ansible_ssh_host=node103.vanlanschot.cobrowser.com | |
node104 ansible_ssh_host=node104.vanlanschot.cobrowser.com | |
node105 ansible_ssh_host=node105.vanlanschot.cobrowser.com | |
newnode ansible_ssh_host=new.vanlanschot.cobrowser.com | |
### BEGIN ANSIBLE MANAGED HOST BLOCK # | |
### END ANSIBLE MANAGED HOST BLOCK # | |
[kube-master] | |
#master01 | |
master02 | |
### BEGIN ANSIBLE MANAGED MASTER BLOCK # | |
### END ANSIBLE MANAGED MASTER BLOCK # | |
[etcd] | |
node101 | |
node102 | |
node103 | |
[k8s-app-nodes] | |
node101 | |
node102 | |
node103 | |
node104 | |
node105 | |
### BEGIN ANSIBLE MANAGED APP-NODES BLOCK # | |
### END ANSIBLE MANAGED APP-NODES BLOCK # | |
[k8s-service-nodes] | |
[k8s-new-node] | |
newnode | |
[kube-node] | |
node101 | |
node102 | |
node103 | |
node104 | |
node105 | |
### BEGIN ANSIBLE MANAGED KUBE-NODES BLOCK # | |
### END ANSIBLE MANAGED KUBE-NODES BLOCK # | |
[k8s-cluster:children] | |
kube-node | |
kube-master | |
[k8s-cluster:vars] | |
env_name=vanlanschot100 | |
public_ip=5.172.40.54 | |
[kube-master:vars] | |
kube_apiserver_ext_ip=5.172.40.54 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment