Skip to content
Snippets Groups Projects
Unverified Commit 895db2a2 authored by Brad Ison's avatar Brad Ison Committed by GitHub
Browse files

jsonnet/components/prometheus: Fix thanos-sidecar metrics access (#2330)

When enabled, the thanos-sidecar opens an HTTP listener on port 10902,
which what's used to scrape metrics.  This port wasn't being added to
the Prometheus Service, so wasn't added to the NetworkPolicy causing
scraping to fail from Prometheus instances other than the local one.

This adds the port to the Service and NetworkPolicy.

Fixes: #2006
parent 56b1a48a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment