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

How do you configure opentelemetry collectors to use a storageclass for pvcs it creates #897

Closed
jacobwalters opened this issue May 26, 2022 · 8 comments

Comments

@jacobwalters
Copy link

jacobwalters commented May 26, 2022

I am creating an opentelemetry collector to scrape prometheus metrics in statefulset mode. I am seeing that the operator creates a pvc that the collector pod is going to use. It is creating the pvc with the storageclass "gp2". In our environment we have a custom storageclass. How do I configure the operator or collector to create the pvcs using a different storageclass than gp2.

@TylerHelmuth
Copy link
Member

Hey @jacobwalters, can you clarify: are you are using the opentelemetry-collector chart or opentelemetry-operator chart?

@jacobwalters
Copy link
Author

@TylerHelmuth
Copy link
Member

I am seeing that the operator creates a pvc that the collector pod is going to use

Are you referring to the opentelemetry operator here?

@jacobwalters
Copy link
Author

Im referring to the controller. The controller creating the collector pod is creating a pvc for the collector pod to use, I would like to modify the controller so it creates a pvc with our storageclasses

@Aneurysm9
Copy link
Member

This issue is with the OpenTelemetryCollector custom resource, managed by the operator. The issue should move to the operator repo.

@dmitryax dmitryax transferred this issue from open-telemetry/opentelemetry-helm-charts May 27, 2022
@VineethReddy02
Copy link
Contributor

@jacobwalters Is this still an open question? Can you close the issue, if your question is answered?
Thanks

@yuriolisa
Copy link
Contributor

@jaronoff97, I believe we could close this issue, right?

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

No branches or pull requests

6 participants