Giter Site home page Giter Site logo

Comments (5)

edwarnicke avatar edwarnicke commented on July 1, 2024

@abhiranjeet Let me make sure I understand your question:

When you say

Lets say I have 9 containers running in a cluster which comprise of a Network Service.

Do you mean you have 9 Pods which are Network Service Clients(NSCs) of a particular Network Service?

or

Do you mean you have 9Pods which are Network Service Endpoints (NSEs) composed together to provide the Network Service?

from cmd-nsmgr.

abhiranjeet avatar abhiranjeet commented on July 1, 2024

Sorry for not being clear about this :

  • I mean 9 pods which are NSEs composed together to provide the Network Service.

Thanks

from cmd-nsmgr.

barby1138 avatar barby1138 commented on July 1, 2024

Hi
Did we have any conclusion here.
I also have question how I can recompose NSEs in runtime without redeployment of existing modules?
Lets take the simple case.
with NSC:
lets say I had NSC1->NSE1 NSC2->NSE2
now I want both NSC1->NSE1 NSC2->NSE1

NSE1 and NSE2 represent same networkservice

thanks

from cmd-nsmgr.

glazychev-art avatar glazychev-art commented on July 1, 2024

Hi @barby1138 ,
I'm not sure if this is a valid case... A particular NSE implements a certain networkservice. NSC requests the service for its functionality.
If NSE1 and NSE2 represent same networkservice then no difference what to connect to.

from cmd-nsmgr.

denis-tingaikin avatar denis-tingaikin commented on July 1, 2024

Hello @barby1138 , @abhiranjeet

Actually it's possible to manage traffic from NSCs to NSEs without re-deploying and change NSC and NSEs . We can do it via Network Service. https://networkservicemesh.io/docs/concepts/architecture/#network-service

Say we have next types of NSES: Green, Blue (for example we have a label color). And we want to connect all our NSC only to Green NSES. For this we could simply do next:

For this option, we could simply update destination_selector in the NetworkService definition.

    - source_selector:
      routes:
        - destination_selector:
            color: Green

After some time, we may decide to change the target endpoint to the Blue then we can update the network service definition

   - source_selector:
     routes:
       - destination_selector:
---           color: Green
+++           color: Blue

from cmd-nsmgr.

Related Issues (17)

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.