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
Apply NSM resources for sriov tests:
kubectl apply -k https://github.com/networkservicemesh/deployments-k8s/examples/sriov?ref=aad7c26ad32fb4c3b515179bbe85d59c811c52f1
To free resources follow the next commands:
kubectl delete mutatingwebhookconfiguration nsm-mutating-webhook
kubectl delete ns nsm-system