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

Tolerations support in otelcol CRD #302

Merged
merged 5 commits into from Jun 7, 2021
Merged

Tolerations support in otelcol CRD #302

merged 5 commits into from Jun 7, 2021

Conversation

VineethReddy02
Copy link
Contributor

add support for tolerations in otelcol CRD, This helps in running Otel collectors on tainted nodes for both deployments and daemon sets.

fixes: #186

…l collectors on tainted nodes for both deployments and daemonsets.

Signed-off-by: Vineeth Pothulapati <vineethpothulapati@outlook.com>
@VineethReddy02 VineethReddy02 requested review from a team as code owners June 1, 2021 15:06
Copy link
Member

@jpkrohling jpkrohling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just need some input validation and a more complete godoc for the new field.

api/v1alpha1/opentelemetrycollector_types.go Show resolved Hide resolved
@jpkrohling
Copy link
Member

Tests are missing as well.

… that are relevant only for specifc mode of deployments
Copy link
Member

@jpkrohling jpkrohling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but there's an import order issue. Because of that, I requested two other minor changes. Other than that, looks good to me!

@@ -17,6 +17,8 @@ package collector_test
import (
"testing"

v1 "k8s.io/api/core/v1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The import order is odd here.

api/v1alpha1/opentelemetrycollector_webhook.go Outdated Show resolved Hide resolved
api/v1alpha1/opentelemetrycollector_webhook.go Outdated Show resolved Hide resolved
jpkrohling
jpkrohling previously approved these changes Jun 4, 2021
@jpkrohling jpkrohling enabled auto-merge (squash) June 4, 2021 09:59
@jpkrohling
Copy link
Member

Could you please check the test failure?

auto-merge was automatically disabled June 6, 2021 09:07

Head branch was pushed to by a user without write access

@mergify mergify bot dismissed jpkrohling’s stale review June 6, 2021 09:07

Pull request has been modified.

@VineethReddy02
Copy link
Contributor Author

@jpkrohling it looks like mergify task post all checks is failing. :)

@jpkrohling jpkrohling merged commit 8ae4f7a into open-telemetry:main Jun 7, 2021
shree007 pushed a commit to shree007/opentelemetry-operator that referenced this pull request Dec 12, 2021
Signed-off-by: Vineeth Pothulapati <vineethpothulapati@outlook.com>
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
Signed-off-by: Vineeth Pothulapati <vineethpothulapati@outlook.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.

Add support for tolerations?
2 participants