# Kubernetes traces from your pods

OTLP traces through the chart's collector.

Traces Available

[Open the Connect card in Epok](https://app.epok.cloud/#/connect?source=kubernetes-helm) [Full setup guide](https://epok.cloud/docs/install/kubernetes)

## What you get

Traces, arriving through Epok Helm chart (OpenTelemetry agent).

## Set it up

1. Create an ingest key in Epok: Settings, then API keys.
2. Create an epok namespace and store the key in a Kubernetes secret there.
3. Add the Epok Helm repository and install the epok-collector chart with your cluster name. Metrics and traces need agent.enabled=true and cluster.enabled=true.
4. Check the collector pods' logs, then search for your pods in Explore.

The commands and configuration for each step are on the [setup guide](https://epok.cloud/docs/install/kubernetes).

## What was tested

- End to end on a local Kubernetes (kind) cluster against a local Epok stack: 1 run.
- No run against the hosted service is recorded yet.

## What you see in Epok

- Services and Traces: request rate, errors and latency per service and endpoint, and each trace's span tree.

## Troubleshooting

- A 403 from the collector usually means the secret holds a trailing newline. Create it with --from-literal.
- Upgrade with helm upgrade --reset-then-reuse-values, so new chart defaults apply.
- Give each cluster its own clusterName: dashboards group by it.

## More in Cloud & Kubernetes

[Container logs](https://epok.cloud/integrations/k8s-container-logs) [Kubernetes events](https://epok.cloud/integrations/k8s-events) [Node, pod and cluster metrics](https://epok.cloud/integrations/k8s-metrics) [EC2](https://epok.cloud/integrations/aws-ec2) [CloudWatch Logs](https://epok.cloud/integrations/aws-cloudwatch-logs) [CloudWatch metrics](https://epok.cloud/integrations/aws-cloudwatch-metrics) [Lambda](https://epok.cloud/integrations/aws-lambda) [ECS on Fargate](https://epok.cloud/integrations/aws-ecs-fargate) [Compute Engine](https://epok.cloud/integrations/gcp-compute-engine) [Cloud Logging](https://epok.cloud/integrations/gcp-cloud-logging) [Cloud Run](https://epok.cloud/integrations/gcp-cloud-run)
