Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- `# ## Configure 'ip' variable to bind kubernetes services on a
- # ## different ip than the default iface
- # ## We should set etcd_member_name for etcd cluster. The node that is not a etcd member do not need to set the value, or can set the empty string value.
- [all]
- node1 ansible_host=10.1.8.16 ip=10.1.8.16
- node2 ansible_host=10.1.8.17 ip=10.1.8.17
- node3 ansible_host=10.1.8.61 ip=10.1.8.61
- node4 ansible_host=10.1.8.62 ip=10.1.8.62
- node5 ansible_host=10.1.8.63 ip=10.1.8.63
- node6 ansible_host=10.1.8.64 ip=10.1.8.64
- node7 ansible_host=10.1.8.65 ip=10.1.8.65 etcd_member_name=etcd7
- node8 ansible_host=10.1.8.66 ip=10.1.8.66 etcd_member_name=etcd8
- node9 ansible_host=10.1.8.67 ip=10.1.8.67 etcd_member_name=etcd9
- # ## configure a bastion host if your nodes are not directly reachable
- # bastion ansible_host=x.x.x.x ansible_user=some_user
- [kube-master]
- node1
- node2
- node3
- [etcd]
- node7
- node8
- node9
- [kube-node]
- node1
- node2
- node3
- node4
- node5
- node6
- node7
- node8
- node9
- [k8s-cluster:children]
- kube-master
- kube-node
- `
Advertisement
Add Comment
Please, Sign In to add comment