summaryrefslogtreecommitdiffstats
path: root/ansible/inventory/hosts.yml
diff options
context:
space:
mode:
authorMichal Ptacek <m.ptacek@partner.samsung.com>2019-05-20 10:35:30 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-20 10:35:30 +0000
commitbf11d96ff6d9908bf04335a66d0e092a736d4561 (patch)
treebaa9b4aba1f970f8fc083f44e562dfa1fa9505ff /ansible/inventory/hosts.yml
parent8fd23141ffc7dd2f3c02b62e8fed1ff8364319b0 (diff)
parent119f760bc517ca037fbbc90bc741902c75c4696c (diff)
Merge changes from topic "rke-support"
* changes: Add setup for kubectl and helm Add support for RKE kubernetes implementation
Diffstat (limited to 'ansible/inventory/hosts.yml')
-rw-r--r--ansible/inventory/hosts.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/ansible/inventory/hosts.yml b/ansible/inventory/hosts.yml
index a29072c5..37ae4e39 100644
--- a/ansible/inventory/hosts.yml
+++ b/ansible/inventory/hosts.yml
@@ -31,6 +31,15 @@ all:
#ip of the node that it uses for communication with k8s cluster.
cluster_ip: 10.8.8.19
+ # 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
+ # other host could be used including kubernetes nodes.
+ # cluster_ip needs to be set for hosts used as control planes.
+ kubernetes-control-plane:
+ hosts:
+ infrastructure-server
+
nfs-server:
hosts:
kubernetes-node-1