You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
We are running ApplicationInsights.Kubernetes with our microservices in AKS.
We take the tool into use like this: services.AddApplicationInsightsTelemetry();
services.AddApplicationInsightsKubernetesEnricher();
We have configured RBAC permissions according to this guide.
For some reason, the tool does not work at all.
We have run the troubleshooter tool without any issues using the same versions as our main applicaion. We have enabled the diagnostics with services.AddApplicationInsightsKubernetesEnricher(LogLevel.Trace);. The only message related to this tool in the pod's logs is: [Error] [2024-10-03T10:23:15.6375636Z] Application is not running inside a Kubernetes cluster..
Expected behavior
The tool works without errors and the additional information is shown in application insights
Actual bevior
The tool fails on error 'Application is not running inside a Kubernetes cluster' even though it is running in AKS.
Can you please help with this issue? I'm not sure whether this is a bug or just a misconfiguration or if it has something to do with our versions (even though the troubleshooter works with the same versions)
The text was updated successfully, but these errors were encountered:
Description
We are running ApplicationInsights.Kubernetes with our microservices in AKS.
We take the tool into use like this:
services.AddApplicationInsightsTelemetry();
services.AddApplicationInsightsKubernetesEnricher();
We have configured RBAC permissions according to this guide.
For some reason, the tool does not work at all.
We have run the troubleshooter tool without any issues using the same versions as our main applicaion. We have enabled the diagnostics with services.AddApplicationInsightsKubernetesEnricher(LogLevel.Trace);. The only message related to this tool in the pod's logs is: [Error] [2024-10-03T10:23:15.6375636Z] Application is not running inside a Kubernetes cluster..
Package Versions
Application Insights Kubernetes Version: 7.0.0
Application Insights SDK Version: 2.22.0
.NET Core Version: 8
Expected behavior
The tool works without errors and the additional information is shown in application insights
Actual bevior
The tool fails on error 'Application is not running inside a Kubernetes cluster' even though it is running in AKS.
Can you please help with this issue? I'm not sure whether this is a bug or just a misconfiguration or if it has something to do with our versions (even though the troubleshooter works with the same versions)
The text was updated successfully, but these errors were encountered: