jaegertracing / helm-charts

Helm Charts for Jaeger backend
Apache License 2.0
267 stars 347 forks source link

[Bug]: Using Elasticsearch as the backend breaks Jaeger UI #457

Closed uRhos closed 1 year ago

uRhos commented 1 year ago

What happened?

Jaeger is deployed successfully on GKE using the official helm chart, all the pods are running, but when running an ingress the UI is not working, with CSS files not being found (returning 404). EDIT: When using Cassandra as the backend the UI comes up correctly, so this is only happening with using Elasticsearch as the backend

Steps to reproduce

  1. Deploy helm chart from https://jaegertracing.github.io/helm-charts
  2. Use values file provided

Expected behavior

The UI shows up correctly

Relevant log output

No response

Screenshot

Screenshot 2023-03-10 at 14 37 00

Additional context

I've found some issues that say that --query.static-files=/go/jaeger-ui/ needs to be added to the command that runs in the query pod, adding that manually returns panic: Could not create static assets handler goroutine 1 error.

Jaeger backend version

No response

SDK

No response

Pipeline

No response

Stogage backend

Elasticsearch v7.17.9

Operating system

No response

Deployment model

Kubernetes

Deployment configs

provisionDataStore:
    cassandra: false

  storage:
    type: elasticsearch
    elasticsearch:
      scheme: https
      host: <HOST>
      port: <PORT>
      anonymous: false
      user: <USER>
      usePassword: true
      password: <PASSWORD>

  query:
    basePath: /
    replicaCount: 1
    tag: 1.42
    serviceMonitor:
      enabled: true
      additionalLabels:
        prometheus: k8s
    resources:
      limits:
        cpu: "1"
        memory: 4Gi
      requests:
        cpu: 300m
        memory: 512Mi
    service:
      annotations:
        cloud.google.com/backend-config: '{"ports": {"80":"jaeger-query-ui"}}'
    ingress:
      enabled: true
      annotations:
        networking.gke.io/managed-certificates: jaeger-rho-dev-cert
        kubernetes.io/ingress.class: gce
      hosts:
      - <HOST>

  collector:
    replicaCount: 1
    autoscaling:
      enabled: true
      minReplicas: 1
      maxReplicas: 5
    service:
      zipkin:
        port: 9411
    serviceMonitor:
      enabled: true
      additionalLabels:
        prometheus: k8s
    resources:
      limits:
        cpu: 1
        memory: 1Gi
      requests:
        cpu: 500m
        memory: 512Mi