Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 995 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 995 Bytes

Memory examples

Memory example contains setup and tear down logic with default NSM infrastructure and memroy based registry backend.

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/memory?ref=94bde617f7939b9fd990840e80a6f2124e1c8e83
  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

kubectl delete mutatingwebhookconfiguration --all
kubectl delete ns nsm-system