Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To meet 1, 2 we have ansible scripts to automatically deploy cluster and cni plugins on POD12, but they can work on any lab environment.

We have created Kubernetes cluster using pod12-node2(as master) and pod12-node1, pod12-node4(as worker) nodes. On this cluster, we have deployed few CNI plugins to meet our prerequisite. For Vineperf, we need k8s-pods with multiple interfaces to setup up separate data-path for benchmarking while , but Kubernetes calls only 1 CNI plugin when it creates k8s-pods. So, to attach multiple interfaces to k8s-pod we use Multus CNI as our primary plugin and then we call other CNIs using Multus to attach extra interfaces to k8s-pod.

Other Some hosts network configurations are also needed to be done on hosts before running benchmarkingbenchmarks. Vineperf automatically does all these configurations for us and sets up an end-to-end data-path, runs benchmarks, save results and then cleans changes made by it.

...

ansible-playbook k8sclustermanagement.yml -i hosts –tags “deploy”--tags "deploy"

setp5: to deploy cni plugins on cluster:

ansible-playbook k8sclustermanagement.yml -i hosts –tags --tags "cni"


---

For cleaning above setup: 

...