Skip to content

Commit af0099e

Browse files
committed
Enable the Ceph mgr prometheus module when needed
1 parent 109649a commit af0099e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

etc/kayobe/cephadm.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,12 @@ cephadm_cluster_network: "{{ storage_mgmt_net_name | net_cidr }}"
8787
# post-deployment configuration, post commands run after the rest of the
8888
# post-deployment configuration.
8989
#cephadm_commands_pre:
90+
{% if kolla_enable_prometheus_ceph_mgr_exporter %}
91+
cephadm_commands_post:
92+
- "mgr module enable prometheus"
93+
{% else %}
9094
#cephadm_commands_post:
95+
{% endif %}
9196

9297
###############################################################################
9398
# Kolla Ceph auto-configuration.

0 commit comments

Comments
 (0)