From bfbb6e193f28e7e503e4c94e46017d40fd613872 Mon Sep 17 00:00:00 2001 From: Michal Zegan Date: Mon, 3 Jun 2019 14:54:02 +0200 Subject: 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 --- ansible/inventory/hosts.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ansible') 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 -- cgit