]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: use ip_hash to enforce the same prometheues upstream 62166/head
authorRedouane Kachach <rkachach@ibm.com>
Fri, 7 Mar 2025 05:54:24 +0000 (06:54 +0100)
committerRedouane Kachach <rkachach@ibm.com>
Fri, 7 Mar 2025 05:57:02 +0000 (06:57 +0100)
commitbfcb5334c2f50fa32d8054d8800c6cede488f9d9
tree9074519cb541ad2dd603be8e2f2eeaf54daf66df
parent5c9094d9f65cb94e9efe13b1a41666f602ad0688
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 <rkachach@ibm.com>
src/pybind/mgr/cephadm/templates/services/mgmt-gateway/nginx.conf.j2
src/pybind/mgr/cephadm/tests/test_services.py