Skip to content
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

Support nodeSelector field for non-sidecar collectors #789

Merged
merged 8 commits into from Apr 7, 2022

Conversation

jutley
Copy link
Contributor

@jutley jutley commented Mar 18, 2022

This PR adds support for specifying a nodeSelector on collectors (unless they are sidecars). This allows users to schedule their collectors onto specific node pools. Fixes #779

config/manager/kustomization.yaml Outdated Show resolved Hide resolved
@pavolloffay
Copy link
Member

@jutley the PR needs rebasing

Signed-off-by: Jake Utley <jutley@hiya.com>
Signed-off-by: Jake Utley <jutley@hiya.com>
Signed-off-by: Jake Utley <jutley@hiya.com>
Signed-off-by: Jake Utley <jutley@hiya.com>
Signed-off-by: Jake Utley <jutley@hiya.com>
Signed-off-by: Jake Utley <jutley@hiya.com>
Signed-off-by: Jake Utley <jutley@hiya.com>
Signed-off-by: Jake Utley <jutley@hiya.com>
@jutley
Copy link
Contributor Author

jutley commented Apr 1, 2022

@pavolloffay Just rebased it.

@jpkrohling
Copy link
Member

Tests started.

@pavolloffay pavolloffay merged commit 2b9fd68 into open-telemetry:main Apr 7, 2022
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
…#789)

* Support nodeSelector field for non-sidecar collectors

Signed-off-by: Jake Utley <jutley@hiya.com>

* Add tests for nodeSelector

Signed-off-by: Jake Utley <jutley@hiya.com>

* Revise resource names in tests

Signed-off-by: Jake Utley <jutley@hiya.com>

* Run make bundle

Signed-off-by: Jake Utley <jutley@hiya.com>

* More automated changes after 'make test'

Signed-off-by: Jake Utley <jutley@hiya.com>

* Manually revert changes to kustomization.yaml

Signed-off-by: Jake Utley <jutley@hiya.com>

* Revise field description

Signed-off-by: Jake Utley <jutley@hiya.com>

* Use open-telemetry image repo

Signed-off-by: Jake Utley <jutley@hiya.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Collector CRD should support specifying a nodeSelector
4 participants