diff options
author | trevortao <trevor.tao@arm.com> | 2018-08-30 10:54:01 +0800 |
---|---|---|
committer | trevortao <trevor.tao@arm.com> | 2018-08-30 10:54:01 +0800 |
commit | cdbfc1d717712f330aa1412d6c59085f98b8ac5e (patch) | |
tree | 4aea5a552cc562767557c7df1e15699fc5153a99 /src/arm/kubernetes_vpp_vhostuser/deploy-cni.sh | |
parent | 3f74777a46de1ba29ad207ba9f1145a2cd6dd617 (diff) |
Add Kubernetes VPP Vhostuser Deployment Scenario on arm64 platform
Add the deployment of Kubernetes VPP Vhostuser scenario with the
help of Compass installer on arm64 platform, which would enable
the containers and VPP vswitch communication with virtio-vhostuser
interface.
Change-Id: I84531dd3730f94a7910f2f5615a193420fdad73f
Signed-off-by: trevortao <trevor.tao@arm.com>
Diffstat (limited to 'src/arm/kubernetes_vpp_vhostuser/deploy-cni.sh')
-rwxr-xr-x | src/arm/kubernetes_vpp_vhostuser/deploy-cni.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/arm/kubernetes_vpp_vhostuser/deploy-cni.sh b/src/arm/kubernetes_vpp_vhostuser/deploy-cni.sh new file mode 100755 index 0000000..941b917 --- /dev/null +++ b/src/arm/kubernetes_vpp_vhostuser/deploy-cni.sh @@ -0,0 +1,16 @@ +#!/bin/bash -e + +cd ../cni-deploy + +DEPLOY_SCENARIO="k8-vpp-nofeature-noha" + +export ANSIBLE_HOST_KEY_CHECKING=False + +virtualenv .venv +source .venv/bin/activate +pip install ansible==2.6.1 + +#deploy flannel, multus +ansible-playbook -i inventory/inventory.cfg deploy.yml --tags flannel,multus +#deploy vhost-vpp +ansible-playbook -i inventory/inventory.cfg deploy.yml --tags vhost-vpp |