Deploying the OpenTelemetry Collector to AKS
Blog post from Honeycomb
Deploying the OpenTelemetry Collector in Azure Kubernetes Service (AKS) involves addressing specific nuances to ensure successful operation. The Collector acts as a central hub for telemetry data, with applications sending data internally before forwarding it to a backend. However, certain challenges arise, such as the kubeletstatsreceiver needing adjustments to bypass certificate validation due to AKS's use of self-signed certificates, and the K8s attributes processor failing to enrich telemetry with crucial context information when using the default kubenet networking mode. These issues can be mitigated by updating the values.yaml file to enable certain features, such as insecure_skip_verify and configuring services to route telemetry locally, thereby optimizing data flow and avoiding high costs associated with cross-node traffic. Despite these complexities, deploying the Collector on AKS remains straightforward with minor modifications to the Helm chart configurations, ensuring that applications can effectively send telemetry to the node IP and leverage the internalTrafficPolicy for efficient data routing.