]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: change loki/promtail default image tags
authorGuillaume Abrioux <gabrioux@ibm.com>
Tue, 30 Apr 2024 13:27:44 +0000 (15:27 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 15 May 2024 07:26:16 +0000 (07:26 +0000)
commit75d59b1900ceecfa0c29d85654fa68c996bebcab
treea31e987e0434bb42dfc56fb8e53f7886ce0bc4ca
parent06fe1f952a5b05e9f63ddaf6e6463f6b35f70aed
cephadm: change loki/promtail default image tags

This commit changes the default images for both loki and promtail
containers.
Also, to allow this update we need to update the configuration of loki
in order to add a new storage schema configuration:

```
    - from: 2024-05-03
      store: tsdb
      object_store: filesystem
      schema: v13
      index:
        prefix: index_
        period: 24h
```

This is because 3.0.0 uses new structured metadata.

See [1][2].

[1] https://grafana.com/docs/loki/latest/operations/storage/schema/
[2] https://grafana.com/docs/loki/latest/get-started/labels/structured-metadata/#when-to-use-structured-metadata

Fixes: https://tracker.ceph.com/issues/65784
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 00f5257a5b07694dd8d06ecc8cd4c060025f81bf)
src/cephadm/cephadmlib/constants.py
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/templates/services/loki.yml.j2
src/pybind/mgr/cephadm/tests/test_services.py