Install the Collector with Kubernetes
You are viewing the English version of this page because it has not yet been fully translated. Interested in helping out? See Contributing.
Kubernetes
The following command deploys an agent as a daemonset and a single gateway instance:
kubectl apply -f https://raw.githubusercontent.com/open-telemetry/opentelemetry-collector/v0.139.0/examples/k8s/otel-config.yaml
The previous example is meant to serve as a starting point, to be extended and customized before actual production usage. For production-ready customization and installation, see OpenTelemetry Helm Charts.
You can also use the OpenTelemetry Operator to provision and maintain an
OpenTelemetry Collector instance, with features such as automatic upgrade
handling, Service configuration based on the OpenTelemetry configuration,
automatic sidecar injection into deployments, and more.
For guidance on how to use the Collector with Kubernetes, see Kubernetes Getting Started.
Feedback
Was this page helpful?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!