Skip to content

Files

Latest commit

author
nsmbot
Apr 25, 2025
75f5139 · Apr 25, 2025

History

History

memory

Memory examples

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

Requires

Run

Apply NSM resources for basic tests:

kubectl apply -k https://github.com/networkservicemesh/deployments-k8s/examples/memory?ref=149fa53d2c5358f9ba76d8bb6a9bb8955467b58f

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