Comments (5)
@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.
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.
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.
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.
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)
- cmd-nsmgr application and testing HOT 4
- Update NSMgr to latest SDK HOT 1
- NSMgr adds NSE in registry with wrong URL
- NSMgr deployed via k8s daemonset can't access node IP address
- TestNSmgrEndpointCallback has unexpected Errors in output. HOT 1
- Request for livenessProbe and readinessProbe functionality HOT 26
- NSMgr leaks memory somewhere (probably in `grpcfd`) HOT 5
- Forwarder request processing chain element HOT 1
- Log level cannot be set HOT 1
- NSMgr container restarts due to concurrent map writes HOT 1
- NSE registry functionality HOT 1
- NSM_LISTEN_ON unix socket file permissions HOT 4
- nsc to connect nsmgr via tcp
- nsmgr crashing when deploying the `floating_vl3-basic` example on 3 kind clusters HOT 11
- Memory leaks in nsmgr HOT 8
- What should be the real memory consumed by nsmgr process? 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 cmd-nsmgr.