Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Requires

Includes

SR-IOV config

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

Run

  1. 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=7be52e47e136c606a141b091c740b7a924e53597

Cleanup

To free resources follow the next commands:

WH=$(kubectl get pods -l app=admission-webhook-k8s -n nsm-system --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')
kubectl delete mutatingwebhookconfiguration ${WH}
kubectl delete ns nsm-system