Coder Social home page Coder Social logo

Comments (5)

naseemkullah avatar naseemkullah commented on July 17, 2024 1

First approach would be outside the scope of this chart, and probably not recommended.

Second approach can be achieved as you mentioned but requires adding the container as it was done in query in the deployment spec, and that is outside of this chart.
This second approach is what this issue is about. Having an injector automatically modify the pod as to inject a sidecar based on some annotations would be neat. Something like https://github.com/tumblr/k8s-sidecar-injector maybe. Or see how istio is doing it.

Third approach is indeed covered by this chart.

from helm-charts.

TBBle avatar TBBle commented on July 17, 2024 1

I assume this is about Jaeger, since Jaeger Operator already supported this feature when the ticket was opened, per https://www.jaegertracing.io/docs/1.13/operator/#auto-injecting-jaeger-agent-sidecars.

from helm-charts.

arpitjindal97 avatar arpitjindal97 commented on July 17, 2024

As far as I know, It totally depends on the developer how he wants to use agent.

  • Agent is made to run in same container, so at the time of containerizing the application agent must be configured in Dockerfile

  • Second approach can be running application container and agent container in same pod similar to query deployment in this chart.

  • Third approach can be using DaemonSet. All applications running in a node will rely on one agent

So, current chart is well configured covering all approaches

from helm-charts.

arpitjindal97 avatar arpitjindal97 commented on July 17, 2024

I liked injector approach, We can deploy an injector which will be triggered when an application is deployment based on annotations.

If we go via this approach then we don't have to rely on DaemonSets and doesn't have to mess with yamls also to add agent container. It will be fully automated

from helm-charts.

yury-kozlov avatar yury-kozlov commented on July 17, 2024

Is this issue about jaeger chart or jaeger-operator chart ?

I'm trying to achieve this behavior with jaeger chart but without success.
However if I use jaeger-operator chart a sidecar is created according to annotation "sidecar.jaegertracing.io/inject": "true".

The problem with operator chart is that it's not flexible enough for my purpose (e.g. doesn't provide option for a static nodeport of jaeger collector).

from helm-charts.

Related Issues (20)

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.