Skip to content

Commit 0630218

Browse files
committed
Enable the Ceph mgr prometheus module when needed
1 parent 553f5a8 commit 0630218

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

etc/kayobe/cephadm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ cephadm_commands_post: "{{ cephadm_commands_post_default + cephadm_commands_post
9191

9292
cephadm_commands_pre_default:
9393
cephadm_commands_post_default:
94+
{% if kolla_enable_prometheus_ceph_mgr_exporter %}
95+
- "mgr module enable prometheus"
96+
{% endif %}
9497

9598
cephadm_commands_pre_extra:
9699
cephadm_commands_post_extra:

0 commit comments

Comments
 (0)