Giter Club home page Giter Club logo

Comments (5)

denis-tingaikin avatar denis-tingaikin commented on June 28, 2024

@lewisfelix Hello, currently we are moving NSM to multirepo approach.
Consider looking into https://github.com/networkservicemesh/deployments-k8s

from examples.

denis-tingaikin avatar denis-tingaikin commented on June 28, 2024

@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:

  1. have a cluster.
  2. clone https://github.com/networkservicemesh/deployments-k8s
  3. move to directory with example
  4. Copy paste steps from Run into the terminal
  5. 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.

lewisfelix avatar lewisfelix commented on June 28, 2024

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.

denis-tingaikin avatar denis-tingaikin commented on June 28, 2024

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.

lewisfelix avatar lewisfelix commented on June 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.