Skip to content

frontend image ui file path error. v0.17.0-gke.8  #1806

Description

@tmhdgsn

the frontend image gke.gcr.io/prometheus-engine/frontend:v0.17.0-gke.8
fails to serve the UI. it starts successfully but displays

"Error opening React index.html: open static/static/react/index.html: no such file or directory"

how to reproduce:

docker run -d \
  --name frontend\
  -p 9090:9090 \
  -v ~/.config/gcloud/application_default_credentials.json:/tmp/adc.json:ro \
  -e GOOGLE_APPLICATION_CREDENTIALS=/tmp/adc.json \
  gke.gcr.io/prometheus-engine/frontend:v0.17.0-gke.8 \
  --query.project-id="foo" \
  --web.listen-address=:9090

visit http://localhost:9090 in the browser

the same steps work as expected for gke.gcr.io/prometheus-engine/frontend:v0.16.0-gke.3

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions