These tests require SR-IOV config created on both master
and worker
nodes and located
under /var/lib/networkservicemesh/sriov.config
.
Required service domains and capabilities for the master
node are:
capabilities:
- 10G
serviceDomains:
- worker.domain
For the worker
node:
capabilities:
- 10G
serviceDomains:
- master.domain
- Create ns for deployments:
kubectl create ns nsm-system
Apply NSM resources for basic tests:
kubectl apply -k https://github.com/networkservicemesh/deployments-k8s/examples/sriov?ref=94bde617f7939b9fd990840e80a6f2124e1c8e83
To free resources follow the next command:
kubectl delete mutatingwebhookconfiguration --all
kubectl delete ns nsm-system