Commit bfcb533
committed
mgr/cephadm: use ip_hash to enforce the same prometheues upstream
Implemented ip_hash in Nginx to ensure consistent upstream selection
for Prometheus in HA scenarios. This helps maintain query consistency
in Grafana and reduces gaps caused by Prometheus instance failovers.
Fixes: https://tracker.ceph.com/issues/70352?
Signed-off-by: Redouane Kachach <[email protected]>1 parent 5c9094d commit bfcb533
File tree
2 files changed
+3
-0
lines changed- src/pybind/mgr/cephadm
- templates/services/mgmt-gateway
- tests
2 files changed
+3
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4004 | 4004 | | |
4005 | 4005 | | |
4006 | 4006 | | |
| 4007 | + | |
4007 | 4008 | | |
4008 | 4009 | | |
4009 | 4010 | | |
| |||
4256 | 4257 | | |
4257 | 4258 | | |
4258 | 4259 | | |
| 4260 | + | |
4259 | 4261 | | |
4260 | 4262 | | |
4261 | 4263 | | |
| |||
0 commit comments