Comments (5)
@lewisfelix Hello, currently we are moving NSM to multirepo approach.
Consider looking into https://github.com/networkservicemesh/deployments-k8s
from examples.
@lewisfelix To run a simple example you could look at:
https://github.com/networkservicemesh/deployments-k8s/tree/main/examples/basic see at Kernel to Kernel Connection
To run it you need to do:
- have a cluster.
- clone https://github.com/networkservicemesh/deployments-k8s
- move to directory with example
- Copy paste steps from
Run
into the terminal - if the example has
requires
then need to do it first as described in step 4.
Let us know about any issues with it.
from examples.
Hello @denis-tingaikin
I did what you suggested and it worked like a charm! :) I tried to perform the examples kernel2kernel and memif2memif and they are working perfectly.
However, with this new approach I have some questions: in the examples there is no NetworkService defined per-se as it is suggested in the main documentation of NSM (rather only the customisation file), so in this case how can it be performed the connectivity between two different endpoints for example? Do you have a case of such nature for this approach?
from examples.
I did what you suggested and it worked like a charm! :) I tried to perform the examples kernel2kernel and memif2memif and they are working perfectly.
That's good to hear.
However, with this new approach I have some questions: in the examples there is no NetworkService defined per-se as it is suggested in the main documentation of NSM (rather only the customisation file)
Currently, we have an example of NSE that provides a simple icmp-responder service: https://github.com/networkservicemesh/cmd-nse-icmp-responder/blob/master/main.go#L70
So our NSC in the examples applies with a kustomization patch to connect to the icmp-responder service look at https://github.com/networkservicemesh/deployments-k8s/blame/main/examples/use-cases/Kernel2Kernel/README.md#L65
You can replace it with another.
so in this case how can it be performed the connectivity between two different endpoints for example?
It's a good point to improve our examples. Let's create an Issue about an example for the Endpoint to Endpoint connection and we'll consider it.
from examples.
OK perfect! I will be taking a deeper look on the examples then, as it seems a really interesting solution for complex networking cases with K8s!
That example would be great to have in my honest opinion in order to show the potential regarding how this tool could interconnect two services in any k8s cluster. Therefore, shall we close this issue and open a new one in the repo that you pointed out?
Again, thank you so much for everything!
from examples.
Related Issues (9)
- Load balancer example check improvement HOT 6
- create VETH pair fails when source inft of device1 and dst intf of device2 are same HOT 42
- Example make targets and docs don't work well when CRI-O is used as the container runtime HOT 1
- Load-balancer example problem with registration of the endpoint HOT 1
- Load balancer example tcp connection to application server is not working HOT 9
- Wrong test in secure-intranet example HOT 1
- icmp example is using non-existing docker image HOT 3
- gw-routers example uses incorrect docker images and fails to deploy HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from examples.