Comments (6)
That is the local incoming config, as I used a sidecar approach each service has its own linkerd instance. Which means for the incoming traffic all we need do is route that to the local "thing", in this example its nginx web server on port 80 but could be anything you like.
This config is internal to the service, nothing else will ever know about it, so it doesn't need to involve any service discovery because the service knows where itself is.
Hope that makes sense :)
Thanks
Keith
from microservice_experiment.
Oh I see, so the sidecar container is the linkerd itself for each container app.
Interesting....
One thing just potentially worries me ( has to be tested ) is the efficiency ( is it worth it resource wise ) e.g if you have several app containers on the same host, also running linkerd sidecar for each of those apps. So linkerd consumption is the question mark? considering it is java/scala and those type of apps do like eating resources.
Another concern is which naturally comes in is...whether it's scalable and makes sense at large scale.
from microservice_experiment.
Yeah thats a good point, I did use the optimised JVM stack however I think others have found per instance sidecar'ing problematic.
You should checkout:
I am actually working on updating the example to use pure kubernetes because rancher 1.3 changed the way networking works and consul-registrator no longer works.
from microservice_experiment.
Very cool article, thanks for Sharing.
When you say consul-registrator ...are you referring to https://github.com/gliderlabs/registrator ?
Or you are using something else?
from microservice_experiment.
Yeah thats the one, its pretty cool. It's a shame it doesn't work with Rancher now.
from microservice_experiment.
What's exactly the problem with registrator? I dealt with it before on CoreOS and calico overlay-networking ..and there tricks you can do to make it work and hookup to the right network.
Specifically what is ranger changing in comparison to vanilla kubernetes?
from microservice_experiment.
Related Issues (2)
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 microservice_experiment.