Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Basic examples

Contain basic setup for NSM that includes nsmgr, forwarder-vpp, registry-k8s. This setup can be used to check mechanisms combination or some kind of NSM features.

Requires

Includes

Run

  1. Create ns for deployments:
kubectl create ns nsm-system
  1. Apply NSM resources for basic tests:
kubectl apply -k https://github.com/networkservicemesh/deployments-k8s/examples/basic?ref=fef61314382ba6fe3743883359fb502aa8c016a7
  1. Wait for admission-webhook-k8s:
WH=$(kubectl get pods -l app=admission-webhook-k8s -n nsm-system --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')
kubectl wait --for=condition=ready --timeout=1m pod ${WH} -n nsm-system

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