This project is active but it has been moved to its own organization for better control during its development.
This project provides instructions required to setup the demo described by Yoshiyuki Kurauchi in this post. The main goal of this project is to provide an end-to-end implementation of a Cloud-Native Network Function for didactic purposes.

This project uses Vagrant tool for provisioning Virtual Machines
automatically. It's highly recommended to use the setup.sh script
of the bootstrap-vagrant project for installing Vagrant
dependencies and plugins required for its project. The script
supports two Virtualization providers (Libvirt and VirtualBox).
curl -fsSL http://bit.ly/initVagrant | PROVIDER=libvirt bash
Once Vagrant is installed, it's possible to deploy the demo with the following instruction:
DEPLOYMENT_TYPE=k8s MULTI_CNI=danm PKG_MGR=helm vagrant up
| Name | Default | Options | Description |
|---|---|---|---|
| DEBUG | true | false, true | Enables verbose execution |
| DEPLOYMENT_TYPE | docker | docker, k8s | Defines the container orchestrator tool to be used for the deployment |
| MULTI_CNI | multus | multus, danm, nsm | Determines the CNI multiplexer to be used for the deployment |
| PKG_MGR | k8s | k8s, helm | Determines the Kubernetes package manager to be used |
| HOST_IP | Local IP address of the host server | ||
| PLUGIN_CNI | flannel | flannel, ipvlan | Determines the CNI plugin to be used by DANM |
| ENABLE_SKYDIVE | false | false, true | Enables Skydive web dashboard |
| ENABLE_PORTAINER | false | false, true | Enables Portainer web dashboard |
| DEPLOY_KIND_CLUSTER | true | false, true | Determines whether a K8s cluster is deployed with Kind |
Once the Virtual Machine is provisioned by Vagrant, it's possible to check the logs of the different containers.
vagrant ssh
cd /vagrant
make k8s-logs
The Skydive real-time network analyzer can be deployed during the
provisioning process using the ENABLE_SKYDIVE environment variable.
Once the services are up and running it's possible to access it thru
the 8082 local port.

Content type
Image
Digest
Size
3.7 MB
Last updated
over 5 years ago
docker pull electrocucaracha/curl:7.67.0-alpine3.11