diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2017-10-19 15:25:16 -0400 |
---|---|---|
committer | Ruijing Guo <ruijing.guo@intel.com> | 2017-10-20 02:44:20 +0000 |
commit | 3045a42ee7cf729346c0638a21411a239e9474b6 (patch) | |
tree | b7795fbc381bb9d3d8ad47853e5e68471515a563 /docs | |
parent | 644f51f420a38b494a2c6af60ac5a8134c733931 (diff) |
Add K8s Installation Guide
Change-Id: I293a48d25b1a7674f0105ced4b4d30facbd50aec
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/release/configguide/featureconfig.rst | 0 | ||||
-rw-r--r-- | docs/release/configguide/index.rst | 21 | ||||
-rw-r--r-- | docs/release/userguide/gap-kubernetes.rst | 0 | ||||
-rw-r--r-- | docs/release/userguide/gap-openstack.rst | 0 | ||||
-rw-r--r-- | docs/release/userguide/index.rst | 9 | ||||
-rw-r--r-- | docs/release/userguide/install.rst | 31 |
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 |