summaryrefslogtreecommitdiffstats
path: root/ansible/inventory
diff options
context:
space:
mode:
authorMichal Zegan <m.zegan@samsung.com>2019-06-03 14:54:02 +0200
committerMichal Zegan <m.zegan@samsung.com>2019-06-03 14:55:11 +0200
commitbfbb6e193f28e7e503e4c94e46017d40fd613872 (patch)
treeebe5aa60cdd335f007f2a2cb0debdc7f379a68fd /ansible/inventory
parent89e6314a29895247013929828817acbc4a1f6ea5 (diff)
Add kubernetes-etcd group
This group will contain kubernetes etcd cluster. It is separated from kubernetes control plane and, especially, nodes. There are of course no restrictions as to which machines can be etcd. Default is infrastructure-server. Change-Id: I8d3ab9b9e4680f57ea8f595d7be3ed6e2d32764c Issue-ID: OOM-1778 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Diffstat (limited to 'ansible/inventory')
-rw-r--r--ansible/inventory/hosts.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible/inventory/hosts.yml b/ansible/inventory/hosts.yml
index 11825500..4a6b68cf 100644
--- a/ansible/inventory/hosts.yml
+++ b/ansible/inventory/hosts.yml
@@ -34,6 +34,12 @@ all:
#ip of the node that it uses for communication with k8s cluster.
cluster_ip: 10.8.8.19
+ # Group of hosts containing etcd cluster nodes.
+ # Defaults to infra.
+ kubernetes-etcd:
+ hosts:
+ infrastructure-server
+
# This is a group of hosts that are to be used as kubernetes control plane nodes.
# This means they host kubernetes api server, controller manager and scheduler.
# This example uses infra for this purpose, however note that any