-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sidecar injection does not create container probers #571
Comments
This is absolutely desirable. I think we did talk about this in the past, @VineethReddy02, perhaps you have further ideas on the topic? |
adriankostrubiak-tomtom
added a commit
to adriankostrubiak-tomtom/opentelemetry-operator
that referenced
this issue
Nov 23, 2021
…orts a health_check. Fixes open-telemetry#571 Signed-off-by: Adrian Kostrubiak <[email protected]>
Cool. I decided to take a stab at this based on what I think makes sense, at least for a first cut. That's the above draft PR. I welcome any feedback on the changes. |
jpkrohling
pushed a commit
that referenced
this issue
Nov 26, 2021
…orts a health_check. (#574) * Add liveness probe to created container if otelcol configuration supports a health_check. Fixes #571 Signed-off-by: Adrian Kostrubiak <[email protected]>
shree007
pushed a commit
to shree007/opentelemetry-operator
that referenced
this issue
Dec 12, 2021
…orts a health_check. (open-telemetry#574) * Add liveness probe to created container if otelcol configuration supports a health_check. Fixes open-telemetry#571 Signed-off-by: Adrian Kostrubiak <[email protected]>
ItielOlenick
pushed a commit
to ItielOlenick/opentelemetry-operator
that referenced
this issue
May 1, 2024
…orts a health_check. (open-telemetry#574) * Add liveness probe to created container if otelcol configuration supports a health_check. Fixes open-telemetry#571 Signed-off-by: Adrian Kostrubiak <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a
OpenTelemetryCollector
running insidecar
mode is configured with aspec.config
containing a healthcheck extenstion, I would expect that the injected container contain at least aLivenessProbe
. In the current state, this is not the case.With a configuration like
I would expect the injected sidecar to contain a readiness and liveness probe.
The running collector agent does expose the healthcheck, as one would expect:
However there is no
LivenessProbe
nor aReadinessProbe
defined in the creation of the container:opentelemetry-operator/pkg/collector/container.go
Lines 80 to 90 in cb2472a
And we end up with an injected container such as:
I'd be happy to take a look at this if this is a desired feature.
The text was updated successfully, but these errors were encountered: