-
Notifications
You must be signed in to change notification settings - Fork 569
feat(collector): adds spec.hostPID for all collector modes #4280
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
Open
olandr
wants to merge
6
commits into
open-telemetry:main
Choose a base branch
from
olandr:feat/allow-hostpid-support-otelcol
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat(collector): adds spec.hostPID for all collector modes #4280
olandr
wants to merge
6
commits into
open-telemetry:main
from
olandr:feat/allow-hostpid-support-otelcol
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
olandr
commented
Aug 13, 2025
bundle/community/manifests/opentelemetry.io_targetallocators.yaml
Outdated
Show resolved
Hide resolved
atoulme
reviewed
Aug 25, 2025
4751e3d to
a732ae0
Compare
olandr
commented
Aug 26, 2025
frzifus
reviewed
Aug 28, 2025
This adds the field `hostPID boolean` field to the different modes of the collector PodSpec template. - adds hostPID to collector, - adjusts daemonset, deplotment, statefulsets to allow setting hostPID Inspiration for the code follows from the functionality of the `hostNetwork boolean` field --------- on-behalf-of: @SAP Simon Olander ([email protected])
- adds unit and e2e tests - adds .chloggen entry --------- on-behalf-of: @SAP Simon Olander ([email protected])
--------- on-behalf-of: @SAP Simon Olander ([email protected])
fields in v1beta1/common.go area for all component types. for now the hostPID support is only for the collector --------- on-behalf-of: @SAP Simon Olander ([email protected])
… after discussion in SIG deeming it redundant --------- on-behalf-of: @SAP Simon Olander ([email protected])
6eeced7 to
fd6aa08
Compare
Contributor
E2E Test Results 34 files ±0 223 suites +2 2h 32m 16s ⏱️ + 33m 53s For more details on these failures, see this check. Results for commit fd6aa08. ± Comparison against base commit 1387db7. |
pavolloffay
reviewed
Oct 9, 2025
bundle/community/manifests/opentelemetry-operator.clusterserviceversion.yaml
Outdated
Show resolved
Hide resolved
bundle/community/manifests/opentelemetry-operator.clusterserviceversion.yaml
Outdated
Show resolved
Hide resolved
Author
|
I just added a case in the issue to reproduce the error. Which this change resolves. |
--------- on-behalf-of: @SAP Simon Olander ([email protected])
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
At the moment it is not possible to set the
spec.hostPIDfield for the collector (regardless of type). This change adds a featuregateoperator.security.hostpidthat allows a user to configure thespec.hostPIDfield for the collector.Inspiration for the code follows from the functionality of the
hostNetwork booleanfieldLink to tracking Issue(s): 4214
Testing:
Documentation:
Autogenerated docs from the type defs.
on-behalf-of: @SAP Simon Olander ([email protected])