Skip to content

Instantly share code, notes, and snippets.

@nightmareze1
Created December 29, 2018 14:22
Show Gist options
  • Save nightmareze1/94f45ad320ff3b79d514bada3a3705b5 to your computer and use it in GitHub Desktop.
Save nightmareze1/94f45ad320ff3b79d514bada3a3705b5 to your computer and use it in GitHub Desktop.
root@jenkins:/kubespray# cat inventory/prod/hosts.ini
[all]
node1 ansible_host=172.16.250.180 ip=172.16.250.180
node2 ansible_host=172.16.250.181 ip=172.16.250.181
node3 ansible_host=172.16.250.182 ip=172.16.250.182
node4 ansible_host=172.16.250.190 ip=172.16.250.190
node5 ansible_host=172.16.250.191 ip=172.16.250.191
[kube-master]
node1
node2
node3
[kube-node]
node1
node2
node3
node4
node5
[etcd]
node1
node2
node3
[k8s-cluster:children]
kube-node
kube-master
[calico-rr]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment