aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorramagp <ramakrishnagp@aarnanetworks.com>2020-08-04 07:24:49 +0000
committerRamakrishna G P <ramakrishnagp@aarnanetworks.com>2020-11-30 04:56:47 +0000
commit07e2d45bd8e61604a025defdf0123fa8f787b8a0 (patch)
treec5c4bcd3b7f3cf30445bd5034283e48e0b49c8fa
parent278971701e69e4fdccb665cca2b3a065fc5d74f1 (diff)
Missing commands to be added
Change-Id: I11bd3ceacf8baa89fe78d318f12a25ced5e8b51b Issue-ID: OOM-2530 Signed-off-by: ramagp <ramakrishnagp@aarnanetworks.com>
-rw-r--r--docs/oom_setup_kubernetes_rancher.rst9
-rw-r--r--docs/openstack-k8s-controlnode.sh5
2 files changed, 14 insertions, 0 deletions
diff --git a/docs/oom_setup_kubernetes_rancher.rst b/docs/oom_setup_kubernetes_rancher.rst
index 428fa59a4e..de6324e585 100644
--- a/docs/oom_setup_kubernetes_rancher.rst
+++ b/docs/oom_setup_kubernetes_rancher.rst
@@ -269,6 +269,13 @@ Install RKE
Download and install RKE on a VM, desktop or laptop.
Binaries can be found here for Linux and Mac: https://github.com/rancher/rke/releases/tag/v1.0.6
+.. note::
+ There are several ways to install RKE. Further parts of this documentation assumes that you have rke command available.
+ If you don't know how to install RKE you may follow the below steps:
+
+ * chmod +x ./rke_linux-amd64
+ * sudo mv ./rke_linux-amd64 /user/local/bin/rke
+
RKE requires a *cluster.yml* as input. An example file is show below that
describes a Kubernetes cluster that will be mapped onto the OpenStack VMs
created earlier in this guide.
@@ -351,6 +358,8 @@ Validate deployment
::
+ > mkdir -p ~/.kube
+
> cp kube_config_cluster.yml ~/.kube/config.onap
> export KUBECONFIG=~/.kube/config.onap
diff --git a/docs/openstack-k8s-controlnode.sh b/docs/openstack-k8s-controlnode.sh
index 1d230c2da4..cd219aa56f 100644
--- a/docs/openstack-k8s-controlnode.sh
+++ b/docs/openstack-k8s-controlnode.sh
@@ -27,5 +27,10 @@ docker login -u docker -p docker nexus3.onap.org:10001
sudo apt-get install make -y
+#nfs server
+sudo apt-get install nfs-kernel-server -y
+sudo mkdir -p /dockerdata-nfs
+sudo chown nobody:nogroup /dockerdata-nfs/
+
exit 0