Repository navigation
Commit b320e20
fix(lgtm-datamesh): smoke-observability binds Cockpit's port on Fedora
The smoke port-forwards Prometheus to local 9090 — but Fedora (the
verified platform) ships Cockpit listening on host 9090. kubectl
port-forward fails to bind (silenced by >/dev/null), the queries hit
Cockpit instead of Prometheus, and the smoke reports a false FAIL on a
perfectly healthy stack. Grafana's local 3000 has the same class of
risk from dev servers.
Default to 19090/13000, make both env-overridable (PROM_PORT/GRAF_PORT),
and add -f to the two readiness probes so a port squatter answering 404
can't satisfy them.
Verified live: false-failed on 9090 (Cockpit), passes on the new ports.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 4f73dbe commit b320e20
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
66 | | - | |
| 70 | + | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
| |||
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
97 | | - | |
| 101 | + | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| |||
0 commit comments