summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-05-22 14:53:31 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-05-22 14:53:31 +0200
commitcf6797cfbf7553dd64a465c0b0d99e4fe5631aab (patch)
tree9f7286d1bd77f5a97b24f45a47555307946181ac /docs
parentb1fe78553ea7d1caf90c1d52e195cd8f2a082008 (diff)
Make RKE the default cluster deployment tool
This change substitutes rancher_kubernetes.yml for rke.yml in site.yml making the RKE default deployment mechanism for kubernetes cluster. Change-Id: Ie1a0cb1eb94a3c5e8efd5c2c7e682c0292bc9152 Issue-ID: OOM-1873 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/InstallGuide.rst23
1 files changed, 22 insertions, 1 deletions
diff --git a/docs/InstallGuide.rst b/docs/InstallGuide.rst
index 07255b77..7849047d 100644
--- a/docs/InstallGuide.rst
+++ b/docs/InstallGuide.rst
@@ -174,6 +174,15 @@ We need to setup the ``'hosts.yml'`` first, the template looks like this::
#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
@@ -233,6 +242,18 @@ After all the changes, the ``'hosts.yml'`` should look similar to this::
#ip of the node that it uses for communication with k8s cluster.
cluster_ip: 10.8.8.103
+ # 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
+ ansible_host: 10.8.8.100
+ #IP used for communication between infra and kubernetes nodes, must be specified.
+ cluster_ip: 10.8.8.100
+
nfs-server:
hosts:
kubernetes-node-1
@@ -378,7 +399,7 @@ This will take a while so be patient.
- ``upload_resources.yml``
- ``infrastructure.yml``
-- ``rancher_kubernetes.yml``
+- ``rke.yml``
- ``application.yml``
----