From 368e688f29399c44b90b5e81871937b689111366 Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Fri, 3 May 2024 01:13:23 +1000 Subject: [PATCH] doc/cephadm: Pacific default images procedure Address Adam King's request for version-specific cephadm-container-image-retrieval procedures, which he requested here: https://github.com/ceph/ceph/pull/57208#discussion_r1586614140 Signed-off-by: Zac Dover --- doc/cephadm/services/monitoring.rst | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/doc/cephadm/services/monitoring.rst b/doc/cephadm/services/monitoring.rst index f29a93e8298a4..bcf242ffc42c5 100644 --- a/doc/cephadm/services/monitoring.rst +++ b/doc/cephadm/services/monitoring.rst @@ -103,6 +103,40 @@ example spec file: spec: port: 4200 +.. _cephadm_default_images: + +Default images +~~~~~~~~~~~~~~ + + +``cephadm`` stores a local copy of the ``cephadm`` binary in +``var/lib/ceph/{FSID}/cephadm.{DIGEST}``, where ``{DIGEST}`` is an alphanumeric +string representing the currently-running version of Ceph. + +To see the default container images, run a command of the following form: + +.. prompt:: bash # + + grep -E "_IMAGE" /var/lib/ceph/{FSID}/cephadm.{DIGEST} + +:: + + DEFAULT_PROMETHEUS_IMAGE = 'quay.io/prometheus/prometheus:v2.51.0' + DEFAULT_LOKI_IMAGE = 'docker.io/grafana/loki:2.9.5' + DEFAULT_PROMTAIL_IMAGE = 'docker.io/grafana/promtail:2.9.5' + DEFAULT_NODE_EXPORTER_IMAGE = 'quay.io/prometheus/node-exporter:v1.7.0' + DEFAULT_ALERT_MANAGER_IMAGE = 'quay.io/prometheus/alertmanager:v0.27.0' + DEFAULT_GRAFANA_IMAGE = 'quay.io/ceph/grafana:10.4.0' + +Default monitoring images are specified in +``/src/cephadm/cephadmlib/constants.py`` and in +``/src/pybind/mgr/cephadm/module.py``. + +*The information in this section was developed by Eugen Block in a thread on +the [ceph-users] mailing list in April of 2024. The thread can be viewed here:* +`[ceph-users] discussion about default monitoring images +`_. + .. _cephadm_monitoring-images: Using custom images -- 2.39.5