Container4NFV User Guide¶
Project: | Container4NFV, https://wiki.opnfv.org/display/openretriever |
---|---|
Editors: | Xuan Jia (China Mobile) |
Authors: | Xuan Jia (China Mobile) |
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
Senario:¶
k8-nosdn-nofeature-noha¶
Using Joid to deploy Kubernetes in bare metal machine https://build.opnfv.org/ci/job/joid-k8-nosdn-nofeature-noha-baremetal-daily-euphrates/lastBuild/
k8-nosdn-lb-noha¶
Using Joid to deploy Kubernetes in bare metal machine with load balance enabled https://build.opnfv.org/ci/job/joid-k8-nosdn-lb-noha-baremetal-daily-euphrates/
YardStick test Cases¶
opnfv_yardstick_tc080¶
measure network latency between containers in k8s using ping https://git.opnfv.org/yardstick/tree/tests/opnfv/test_cases/opnfv_yardstick_tc080.yaml
opnfv_yardstick_tc081