]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: change loki/promtail default image tags 57164/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Tue, 30 Apr 2024 13:27:44 +0000 (15:27 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Mon, 13 May 2024 07:55:47 +0000 (09:55 +0200)
commit00f5257a5b07694dd8d06ecc8cd4c060025f81bf
treee0940ba968cc50e85cf2e22fb3c5bb9329138c0c
parent6d36b0d0f8d889a7539c07b53cd988554dc19576
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>
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