Closed bvsvas closed 2 days ago
Pinging code owners:
exporter/loadbalancing: @jpkrohling
See Adding Labels via Comments if you do not have permissions to add labels yourself.
This error is from the kubernetes client when it has cannot find a valid config https://github.com/kubernetes/client-go/blob/ab86e03da476bd58948f318b4f73d67d0801fcbd/tools/clientcmd/validation.go#L33
Maybe double-check your serviceAccount similar to the example README?
Yes, it seems the issue was related to the Kubernetes cluster setup on our local environment. We reinstalled the Kubernetes cluster, and it appears to be working fine now.
Component(s)
exporter/loadbalancing
What happened?
Description
Loadbalancing exporter fails to start.
Error message:
Note: It works if I change k8s resolver to dns resolver. This error comes only with k8s resolver (configuration in the below).
Steps to Reproduce
Image:
otel/opentelemetry-collector-contrib:0.103.0
Loadbalance exporter configuration
Deployment: (only container section pasted here)
Note: Created role and role binding with endpoint, services, pods as well.
Expected Result
otelcol pod up and running with loadbalancing exporter.
Actual Result
pod is in CrashLoopBackOff with error.
Collector version
0.103.0
Environment information
Environment
OS: CentOS v8 Kubernetes Server: v1.28.3
OpenTelemetry Collector configuration
Log output
Additional context
No response