GithubHelp home page GithubHelp logo

Comments (6)

muteor avatar muteor commented on September 26, 2024

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.

zoza1982 avatar zoza1982 commented on September 26, 2024

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.

muteor avatar muteor commented on September 26, 2024

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:

https://blog.buoyant.io/2016/10/14/a-service-mesh-for-kubernetes-part-ii-pods-are-great-until-theyre-not/

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.

zoza1982 avatar zoza1982 commented on September 26, 2024

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.

muteor avatar muteor commented on September 26, 2024

Yeah thats the one, its pretty cool. It's a shame it doesn't work with Rancher now.

from microservice_experiment.

zoza1982 avatar zoza1982 commented on September 26, 2024

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 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.