summaryrefslogtreecommitdiffstats
path: root/docs/release/userguide/install.rst
blob: 07d0bbdfab9948f3c6ac814c6451d6cbd117511c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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