Open levonet opened 3 years ago
For 3/5/6, the jaeger-clickhouse plugin is a standalone binary that gets executed as a subprocess of Jaeger, which is then communicated with over gRPC. As a result of this design, the docker image really only needs to hold the jaeger-clickhouse
binary itself, which can then be mounted into the Jaeger container's filesystem. For example see handling in jaeger-operator that sets up access to the binary using an initContainer
. Switching to a model of including both Jaeger and the plugin in the same image would require first updating this existing gRPC handling in jaeger-operator
to support the combined image structure. There's also be the loss of independent versioning between the plugin itself and Jaeger in a production deployment - e.g. when testing changes to the plugin I am able to pair an arbitrary plugin version with an arbitrary Jaeger version.
But there are still a couple other issues in the existing structure that you point out:
scratch
, except that it's often useful to keep the linux utilities available for debugging etc. But once a builder stage has been added, we'd probably want to make sure that there isn't a risk of weird libc vs musl conflicts when the imported plugin binary is being run from a jaeger image.So I think the main changes to address items 1 and 4 would be:
Does this make sense?
I have a number of proposals that I can make to this project:
ghcr.io/jaegertracing/jaeger-collector:1.29.0-clickhouse-0.8.0-stretch
ghcr.io/jaegertracing/jaeger-collector:1.29.0-clickhouse-0.8.0
ghcr.io/jaegertracing/jaeger-collector:1.29.0-clickhouse
ghcr.io/jaegertracing/jaeger-collector:clickhouse-0.8.0-stretch
ghcr.io/jaegertracing/jaeger-collector:clickhouse-0.8.0
ghcr.io/jaegertracing/jaeger-collector:clickhouse
all-in-one
,jaeger-agent
,jaeger-collector
,jaeger-ingester
,jaeger-query
.The implementation of part of the above can be found in this project https://github.com/levonet/docker-jaeger. I'm ready to move this infrastructure and do support by my team during the time of using Jaeger.