open-telemetry / opentelemetry-helm-charts

OpenTelemetry Helm Charts
https://opentelemetry.io
Apache License 2.0
399 stars 489 forks source link

Error while installing collector #988

Open shishir84 opened 10 months ago

shishir84 commented 10 months ago

getting below error when trying to install

kubectl apply -f - <<EOF apiVersion: opentelemetry.io/v1alpha1 kind: OpenTelemetryCollector metadata: name: my-collector spec: mode: statefulset replicas: 3 config: | receivers: jaeger: protocols: grpc: processors:

exporters:
  debug:

service:
  pipelines:
    traces:
      receivers: [jaeger]
      processors: []
      exporters: [debug]

EOF

given in official documetation:

Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "mopentelemetrycollector.kb.io": failed to call webhook: Post "https://opentelemetry-operator-webhook-service.opentelemetry-operator-system.svc:443/mutate-opentelemetry-io-v1alpha1-opentelemetrycollector?timeout=10s": service "opentelemetry-operator-webhook-service" not found

helm install opentelemetry-operator open-telemetry/opentelemetry-operator --set admissionWebhooks.certManager.enabled=false --set admissionWebhooks.certManager.autoGenerateCert=true -n opentelemetry-operator-system

kubectl get po -n opentelemetry-operator-system
NAME READY STATUS RESTARTS AGE opentelemetry-operator-56b9cc5565-klzp2 2/2 Running 0 6m28s

JaredTan95 commented 10 months ago

@shishir84 could you paste the logs of opentelemetry-operator-56b9cc5565-klzp2?