Skip to content

Commit 381b4f3

Browse files
committed
Update doc/source/operations/upgrading-openstack.rst
1 parent 791410e commit 381b4f3

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

doc/source/operations/upgrading-openstack.rst

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,26 @@ the following in ``kayobe-config/etc/kayobe/stackhpc-monitoring.yml``:
109109
Prometheus blackbox exporter endpoints
110110
--------------------------------------
111111

112-
Endpoints for the blackbox exporter are now templated in the kolla-ansible
112+
Many endpoints for the Blackbox exporter are now templated in the Kolla-Ansible
113113
group vars for the cloud. This means that the
114114
``prometheus_blackbox_exporter_endpoints`` variable can be removed from the
115115
environment's ``kolla/globals.yml`` file (if applicable) and the endpoints will
116-
fallback to the ones templated in the group vars. Additional endpoints may be
117-
added through the ``prometheus_blackbox_exporter_endpoints_kayobe`` variable.
116+
fallback to the ones templated in the group vars. Backend endpoints such as
117+
`these <https://github.com/stackhpc/stackhpc-kayobe-config/blob/094c2e012a037309d103c08a71eb633fdeb214e7/etc/kayobe/kolla/inventory/group_vars/prometheus-blackbox-exporter#L27-L64>`__
118+
are not yet templated by Kolla-Ansible.
119+
120+
Additional endpoints may still be added.
121+
122+
For Kolla-Ansible templating, use ``stackhpc_prometheus_blackbox_exporter_endpoints_custom``.
123+
For example:
124+
125+
.. code-block:: yaml
126+
:caption: ``etc/kayobe/kolla/inventory/group_vars/prometheus-blackbox-exporter``
127+
128+
stackhpc_prometheus_blackbox_exporter_endpoints_custom:
129+
- 'custom_service:http_2xx:{{ public_protocol }}://{{ external_fqdn | put_address_in_context('url') }}:{{ custom_serivce_port }}'
130+
131+
Alternatively, for Kayobe templating, use the ``prometheus_blackbox_exporter_endpoints_kayobe`` variable.
118132
For example:
119133

120134
.. code-block:: yaml

0 commit comments

Comments
 (0)