Skip to content

Latest commit

 

History

History
 
 

Kernel2Kernel_ipv6

Test kernel to kernel connection

This example shows that NSC and NSE on the one node can find each other by ipv6 addresses.

NSC and NSE are using the kernel mechanism to connect to its local forwarder.

Run

Deploy NSC and NSE:

kubectl apply -k https://github.com/networkservicemesh/deployments-k8s/examples/features/ipv6/Kernel2Kernel_ipv6?ref=c9dc6831a1647494d4dc2581a362ed21a42685f9

Wait for applications ready:

kubectl wait --for=condition=ready --timeout=1m pod -l app=alpine -n ns-kernel2kernel-ipv6
kubectl wait --for=condition=ready --timeout=1m pod -l app=nse-kernel -n ns-kernel2kernel-ipv6

Check connectivity:

kubectl exec pods/alpine -n ns-kernel2kernel-ipv6 -- ping -c 4 2001:db8::

Check connectivity:

kubectl exec deployments/nse-kernel -n ns-kernel2kernel-ipv6 -- ping -c 4 2001:db8::1

Cleanup

Delete ns:

kubectl delete ns ns-kernel2kernel-ipv6