Initial version

This commit is contained in:
2020-11-20 14:14:20 +01:00
commit 1ca007eaca
7 changed files with 312 additions and 0 deletions

25
inventory.ini Normal file
View 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