Initial version
This commit is contained in:
25
inventory.ini
Normal file
25
inventory.ini
Normal file
@@ -0,0 +1,25 @@
|
||||
# ## 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]
|
||||
node-1 etcd_member_name=etcd
|
||||
node-2
|
||||
|
||||
# ## configure a bastion host if your nodes are not directly reachable
|
||||
# bastion ansible_host=x.x.x.x ansible_user=some_user
|
||||
|
||||
[kube-master]
|
||||
node-1
|
||||
|
||||
[etcd]
|
||||
node-1
|
||||
|
||||
[kube-node]
|
||||
node-2
|
||||
|
||||
[calico-rr]
|
||||
|
||||
[k8s-cluster:children]
|
||||
kube-master
|
||||
kube-node
|
||||
calico-rr
|
||||
Reference in New Issue
Block a user