]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Use a persistent volume to store Loki DB 60815/head
authorAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Mon, 25 Nov 2024 06:37:23 +0000 (12:07 +0530)
committerAashish Sharma <Aashish.Sharma1@ibm.com>
Tue, 27 May 2025 11:19:45 +0000 (16:49 +0530)
commit70f8bdba522912fcef7e0ebbb83c611b1e869223
tree55684d009d7ef5ef257bfc7328e902ed49c37089
parenteea19fab1da06ae3fff92296f024e55802c9a384
mgr/dashboard: Use a persistent volume to store Loki DB

Current Behavior: The Loki configuration directs all data to /tmp/loki, which is not mounted as a persistent volume. This results in data being stored in a temporary location that gets cleared upon container restart.
Expected Behavior: Loki data should be stored in /loki, which is backed by the persistent volume mapped to /var/lib/ceph/<fsid>/loki.<id>/data, ensuring data persistence across container restarts.

Fixes: https://tracker.ceph.com/issues/69029
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
src/pybind/mgr/cephadm/templates/services/loki.yml.j2
src/pybind/mgr/cephadm/tests/test_services.py