Commit 4f0b455
authored
fix(monitoring): allow parca Prometheus to reach parca-analytics' Thanos pods (#477)
Confirmed: "Error scraping target: Get \"http://100.64.2.7:9090/metrics\":
context deadline exceeded" — Cilium's default-deny was silently dropping
scrape traffic from the parca Prometheus into parca-analytics's namespace,
timing out rather than refusing. Its serviceMonitorSelector/
serviceMonitorNamespaceSelector are wide open, so it was already
discovering the thanos-query/thanos-sidecar/thanos-store ServiceMonitors
there; it just couldn't reach the pods. Adds a matching ingress rule to
each of the three NetworkPolicies (thanos-query, thanos-store, and the
prometheus-parca-analytics pod that hosts the sidecar container) allowing
parca's pod on their metrics ports.1 parent 28e447c commit 4f0b455
1 file changed
Lines changed: 39 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
39 | 54 | | |
40 | 55 | | |
41 | 56 | | |
42 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
43 | 79 | | |
44 | 80 | | |
45 | 81 | | |
| |||
434 | 470 | | |
435 | 471 | | |
436 | 472 | | |
437 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
438 | 476 | | |
439 | 477 | | |
440 | 478 | | |
| |||
0 commit comments