diff options
author | Xuan Jia <jason.jiaxuan@gmail.com> | 2017-10-20 03:01:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-10-20 03:01:28 +0000 |
commit | 3ee6a6809fda3d9ea9aa436743736dcb6914c70b (patch) | |
tree | 8b8aa19541d9c48d0127862a31b0d5fa27765c3a /docs/release/userguide | |
parent | 6837ac7bff5eba6b1d7faa0a797ee89a6550414e (diff) | |
parent | 014159849e3421b74ce3c0e195f7fb91fadd403a (diff) |
Merge "Add K8s Installation Guide"
Diffstat (limited to 'docs/release/userguide')
-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 |
4 files changed, 32 insertions, 8 deletions
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 |