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
2024-07-01T10:20:51.981Z debug extension@v0.103.0/extension.go:170 Beta component. May change in the future. {"kind": "extension", "name": "health_check"}
2024-07-01T10:20:51.982Z debug exporter@v0.103.0/exporter.go:278 Beta component. May change in the future. {"kind": "exporter", "data_type": "traces", "name": "loadbalancing"}
Error: failed to build pipelines: failed to create "loadbalancing" exporter for data type "traces": invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
2024/07/01 10:20:51 collector server run finished with error: failed to build pipelines: failed to create "loadbalancing" exporter for data type "traces": invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
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
Create OpenTelemetry Collector with loadbalance exporter
2024-07-01T10:31:56.738Z info service@v0.103.0/service.go:115 Setting up own telemetry...
2024-07-01T10:31:56.738Z info service@v0.103.0/telemetry.go:96 Serving metrics {"address": ":8888", "level": "Normal"}
2024-07-01T10:31:56.738Z debug extension@v0.103.0/extension.go:170 Beta component. May change in the future. {"kind": "extension", "name": "health_check"}
2024-07-01T10:31:56.738Z info exporter@v0.103.0/exporter.go:280 Development component. May change in the future. {"kind": "exporter", "data_type": "metrics", "name": "loadbalancing"}
Error: failed to build pipelines: failed to create "loadbalancing" exporter for data type"metrics": invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
2024/07/01 10:31:56 collector server run finished with error: failed to build pipelines: failed to create "loadbalancing" exporter for data type"metrics": invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
Additional context
No response
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: