Comments (7)
This document might have answered your question: https://github.com/megaease/easemesh/blob/main/docs/sidecar-protocol.md
from easegress.
We create EaseMesh mainly for the spring cloud ecosystem. But we also maintain some other languages SDK[1]. You can use them to get part of the power of EaseMesh. And as for more general options like eBPF and IPTables are outside the scope of EaseMesh for the time being.
[1] https://github.com/megaease?q=easeagent-sdk&type=public&language=&sort=
from easegress.
本文档可能回答了您的问题:https://github.com/megaease/easemesh/blob/main/docs/sidecar-protocol.md
Thanks,very clear, but I still have some questions:
coredns will search service in easemesh etcd
,
1)Is the easemesh's etcd instances in the same cluster as easegress's etcd?
2)it means that no matter which domain name(targetServerA, targetServerB)the application uses to make RPC calls,the coredns always return the local sidecar address?coredns return the local sidecar address
What I learned is that coredns will only return the IP but not the port, so how is the outbound traffic of the application forwarded to the 13002 port of the local sidecar?
from easegress.
1)Is the easemesh's etcd instances in the same cluster as easegress's etcd?
yes
2)it means that no matter which domain name(targetServerA, targetServerB)the application uses to make RPC calls,the coredns always return the local sidecar address?
Nope, return the local sidecar address when only asking for existing mesh service names.
What I learned is that coredns will only return the IP but not the port, so how is the outbound traffic of the application forwarded to the 13002 port of the local sidecar?
Actually CoreDNS returns ports, and we are maintaining our own CoreDNS[1] version to get the dedicated job done.
[1] https://github.com/megaease/coredns
from easegress.
I see.
And I want to know, is it still only adding the target RPC server's name inside the HTTP header through easeagent to tell the local sidecar the real target service?
from easegress.
is it still only adding the target RPC server's name inside the HTTP header through easeagent to tell the local sidecar the real target service?
Yes, that's what the protocol specifies.
from easegress.
thanks for your replay
from easegress.
Related Issues (20)
- An option for enabling periodic health checks of the servers in Proxy plugin HOT 2
- Strict yaml schema validation via openAPIV3Schema HOT 1
- [Question]: Is there command `egctl convert ` ? HOT 2
- [Question]: egctl apply error HOT 2
- [Question]: New filter run panic HOT 8
- [Question]: Websocket handshake fail HOT 12
- Filter logger optimize HOT 5
- [Bug]: easegress-server --signal-upgrade=true panic HOT 2
- [Question]:Is buildOutputResponse missing ? HOT 4
- Filter will be created even it is not referenced in flow HOT 3
- Adding url decoding function to extend template functionality in easegress builder filters HOT 5
- [Question]: Why does pipeline not map properly to the backend server? HOT 3
- [Question]: Pipeline HandleWithBeforeAfter not work well HOT 23
- [Question]: Is there something wrong with the example in this IngressController doc? HOT 1
- [Question]: Why does my IngressController experiment not work? HOT 17
- [Question]: When using Easegress images version V2.6.1 and above, the IngressController does not function properly. HOT 5
- [Question]: When using Easegress as an Ingress controller, how can I add a global filter to the default HTTP server? HOT 8
- [Question]: Websocket log expected error HOT 3
- Report the use of components with vulnerabilities in easegress 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 easegress.