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

Add a walkthrough for running an otel-collector inside Kubernetes #4928

Closed
XZymo opened this issue Jul 31, 2024 · 7 comments
Closed

Add a walkthrough for running an otel-collector inside Kubernetes #4928

XZymo opened this issue Jul 31, 2024 · 7 comments

Comments

@XZymo
Copy link

XZymo commented Jul 31, 2024

Suggested improvements for page: Kubernetes

There doesn't seem to be a walkthrough for running an otel-collector inside Kubernetes for receiving traces from external clients, only for monitoring a Kubernetes cluster.

@tiffany76
Copy link
Contributor

Hi @XZymo. Thanks for raising this issue. Before I escalate it, I wonder if you have reviewed the OpenTelemetry Kubernetes Demo. As mentioned in the Getting Started page, the demo is where we recommend you start learning how to implement OpenTelemetry in a Kubernetes deployment. Let us know if the demo page doesn't answer your questions.

@XZymo
Copy link
Author

XZymo commented Jul 31, 2024

Hello! I did test out the demo and was able to set it up using the demo helm chart, however I found that the document doesn't goes go very far in details about the way the service is deployed and why the service was configured that way. The document seems to go more in detail about how to configure an ingress / service type / browser telemetry for the demo.

My point is there is no walkthrough for the opentelemetry-collector's helm chart specifically and how to configure it for my own purposes. In fact, the collector's README only really delves into configuring the collector for Kubernetes clusters and not running the collector for external services/clients.

@svrnm svrnm changed the title Page feedback Add a walkthrough for running an otel-collector inside Kubernetes Aug 1, 2024
@svrnm svrnm moved this to Need Docs Review in SIG Comms: PRs & Issues Aug 1, 2024
@tiffany76
Copy link
Contributor

@open-telemetry/helm-approvers, @open-telemetry/collector-approvers: do we have any examples or documentation in the code repos that could help @XZymo?

@jpkrohling
Copy link
Member

Typically, people would deploy the Collector either via the Operator or via the Helm Charts on Kubernetes. Then, from there, they can expose the Collector via regular Kubernetes mechanisms (services + ingresses). The only thing that is specific to the Collector would be to secure it, to which I think we have instructions. If not, this is a blog post I know was up to date as of a couple of months ago: https://medium.com/opentelemetry/securing-your-opentelemetry-collector-1a4f9fa5bd6f

@svrnm
Copy link
Member

svrnm commented Nov 6, 2024

following up on this issue, can we improve our documentation around that somehow or can this be closed?

@meswapnilk
Copy link
Contributor

Hello! I did test out the demo and was able to set it up using the demo helm chart, however I found that the document doesn't goes go very far in details about the way the service is deployed and why the service was configured that way. The document seems to go more in detail about how to configure an ingress / service type / browser telemetry for the demo.

My point is there is no walkthrough for the opentelemetry-collector's helm chart specifically and how to configure it for my own purposes. In fact, the collector's README only really delves into configuring the collector for Kubernetes clusters and not running the collector for external services/clients.

I don't think there is anything beyond configuring the service/ingress for the collector, the same can be used to send the metrics data from any kubernetes/non-kubernetes services/clients. How to use the configuration is part of your instrumentation using either language SDKs or Zero-code Instrumentation

@tiffany76
Copy link
Contributor

Closing this for now. If you still have suggestions for improvement to the documentation, please re-open or raise a new issue. Thanks!

@tiffany76 tiffany76 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2025
@github-project-automation github-project-automation bot moved this from Need Docs Review to Done in SIG Comms: PRs & Issues Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

5 participants