aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-11-30 08:08:59 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-30 08:08:59 +0000
commitd92618a67e411c4e0568c7a71a7d7b3307a56807 (patch)
tree80bc307fe42066f5816429ca1392d29d4cd22f8c
parent2d0eafec73643294cb5016b8e74d57a68608f822 (diff)
parent07e2d45bd8e61604a025defdf0123fa8f787b8a0 (diff)
Merge "Missing commands to be added"
-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 67ebca544b..eea46c0e51 100644
--- a/docs/oom_setup_kubernetes_rancher.rst
+++ b/docs/oom_setup_kubernetes_rancher.rst
@@ -275,6 +275,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.
@@ -357,6 +364,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