Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.68 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.68 KB

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

Run

Apply NSM resources for basic tests:

kubectl apply -k https://github.com/networkservicemesh/deployments-k8s/examples/basic?ref=7a2735f6f8c8ed02d058c1a6a2f04846a3d88cad

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

Includes

Cleanup

To free resources follow the next commands:

kubectl delete mutatingwebhookconfiguration nsm-mutating-webhook
kubectl delete ns nsm-system