Skip to content

Commit dd2a45d

Browse files
committed
Enable the Ceph mgr prometheus module when needed
1 parent 3787f80 commit dd2a45d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

etc/kayobe/cephadm.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ cephadm_commands_pre: "{{ cephadm_commands_pre_default + cephadm_commands_pre_ex
9090
cephadm_commands_post: "{{ cephadm_commands_post_default + cephadm_commands_post_extra }}"
9191

9292
#cephadm_commands_pre_default:
93-
#cephadm_commands_post_default:
93+
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)