Run

Table of contents


Prerequisites

Make sure you have the following dependencies to run NSM:

Install

helm repo add nsm https://helm.nsm.dev/ # Add the latest release nsm helm repo
helm install nsm/nsm # Install the nsm infrastructure in your Kubernetes Cluster

More help with helm if you need it.

You should be able to confirm with

kubectl get pods | grep nsm

Output:

nsm-admission-webhook-584c8dd8cb-rj754   1/1     Running   0          107s
nsm-vpp-forwarder-274f9                  1/1     Running   0          105s
nsm-vpp-forwarder-6dvld                  1/1     Running   0          106s
nsm-vpp-forwarder-zc799                  1/1     Running   0          105s
nsmgr-7mvq4                              3/3     Running   0          106s
nsmgr-bkmwk                              3/3     Running   0          106s
nsmgr-lrvwg                              3/3     Running   0          107s

Run

The nsm helm repo has three examples available:

helm search nsm | grep -i example

Output:

nsm/icmp-responder              0.2.0           0.2.0           Endpoints and Clients for ICMP Responder Use Case           
nsm/vpn                         0.2.0           0.2.0           Endpoints and Clients for VPN Use Case                      
nsm/vpp-icmp-responder          0.2.0           0.2.0           Endpoints and Clients for VPP ICMP Responder Use Case
  • icmp-responder - A simple example that connects an App Pod Client to a Network Service.
  • vpp-icmp-responder - A simple example that connects a vpp based Pod to a Network Service using memif.
  • vpn - An example that simulates an App Pod Client connecting to a Network Service implemented as a chain simulating a VPN Use Case

The community maintains additional examples in examples/

Table of contents