summaryrefslogtreecommitdiffstats
path: root/docs/release
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-10-19 15:25:16 -0400
committerGuo Ruijing <ruijing.guo@intel.com>2017-10-19 15:37:08 -0400
commit014159849e3421b74ce3c0e195f7fb91fadd403a (patch)
tree37134842bddf1179e98eb183fd6ad98b3c83c9b6 /docs/release
parent4f63e7c80889263088be25716c52cc41f559541f (diff)
Add K8s Installation Guide
Change-Id: I293a48d25b1a7674f0105ced4b4d30facbd50aec Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'docs/release')
-rw-r--r--docs/release/configguide/featureconfig.rst0
-rw-r--r--docs/release/configguide/index.rst21
-rw-r--r--docs/release/userguide/gap-kubernetes.rst0
-rw-r--r--docs/release/userguide/gap-openstack.rst0
-rw-r--r--docs/release/userguide/index.rst9
-rw-r--r--docs/release/userguide/install.rst31
6 files changed, 32 insertions, 29 deletions
diff --git a/docs/release/configguide/featureconfig.rst b/docs/release/configguide/featureconfig.rst
deleted file mode 100644
index e69de29..0000000
--- a/docs/release/configguide/featureconfig.rst
+++ /dev/null
diff --git a/docs/release/configguide/index.rst b/docs/release/configguide/index.rst
deleted file mode 100644
index 161dd8a..0000000
--- a/docs/release/configguide/index.rst
+++ /dev/null
@@ -1,21 +0,0 @@
-.. This work is licensed under a Creative Commons Attribution 4.0 International
-.. License. http://creativecommons.org/licenses/by/4.0
-.. (c) Xuan Jia (China Mobile)
-
-==========================
-Configure Guide
-==========================
-
-:Project: OpenRetriever, https://wiki.opnfv.org/display/openretriever
-
-:Editors: Xuan Jia (China Mobile)
-:Authors: Xuan Jia (China Mobile)
-
-:Abstract: This document provides the users with the Configuration Guide to set
- up an environment as Kubernetes with DPDK enabled.
-
-.. toctree::
- :maxdepth: 2
-
- featureconfig.rst
-
diff --git a/docs/release/userguide/gap-kubernetes.rst b/docs/release/userguide/gap-kubernetes.rst
deleted file mode 100644
index e69de29..0000000
--- a/docs/release/userguide/gap-kubernetes.rst
+++ /dev/null
diff --git a/docs/release/userguide/gap-openstack.rst b/docs/release/userguide/gap-openstack.rst
deleted file mode 100644
index e69de29..0000000
--- a/docs/release/userguide/gap-openstack.rst
+++ /dev/null
diff --git a/docs/release/userguide/index.rst b/docs/release/userguide/index.rst
index 28b617c..3bb98d3 100644
--- a/docs/release/userguide/index.rst
+++ b/docs/release/userguide/index.rst
@@ -11,14 +11,7 @@ Container4NFV User Guide
:Editors: Xuan Jia (China Mobile)
:Authors: Xuan Jia (China Mobile)
-:Abstract: Container4NFV provides the users with gap analysis regarding container
- feature requirements with Kubernetes, OpenStack. The gap analysis
- serves as feature specific user guides and references when a user you
- may leverage the container feature in the platform and need to perform
- some container releated operations
.. toctree::
:maxdepth: 3
- gap-kubernetes.rst
- gap-openstack.rst
-
+ install.rst
diff --git a/docs/release/userguide/install.rst b/docs/release/userguide/install.rst
new file mode 100644
index 0000000..07d0bbd
--- /dev/null
+++ b/docs/release/userguide/install.rst
@@ -0,0 +1,31 @@
+Installation
+============
+
+Vagrant is installed in Ubuntu 16.04.
+vagrant is to create kubernetes cluster using kubeadm.
+kubernetes installation by kubeadm can be refered to
+https://kubernetes.io/docs/getting-started-guides/kubeadm.
+
+Vagrant Setup
+-------------
+
+sudo apt-get install -y virtualbox
+wget --no-check-certificate https://releases.hashicorp.com/vagrant/1.8.7/vagrant_1.8.7_x86_64.deb
+sudo dpkg -i vagrant_1.8.7_x86_64.deb
+
+K8s Setup
+---------
+
+git clone http://gerrit.opnfv.org/gerrit/container4nfv -b stable/euphrates
+cd container4nfv/src/vagrant/k8s_kubeadm/
+vagrant up
+
+Run K8s Example
+---------------
+vagrant ssh master -c "kubectl apply -f /vagrant/examples/virtio-user.yaml"
+
+
+K8s Cleanup
+-----------
+
+vagrant destroy -f