Skip to content

Commit 4047c9d

Browse files
committed
Update doc/source/operations/upgrading-openstack.rst
1 parent 95e8e9a commit 4047c9d

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
@@ -135,12 +135,26 @@ the following in ``kayobe-config/etc/kayobe/stackhpc-monitoring.yml``:
135135
Prometheus blackbox exporter endpoints
136136
--------------------------------------
137137

138-
Endpoints for the blackbox exporter are now templated in the kolla-ansible
138+
Many endpoints for the Blackbox exporter are now templated in the Kolla-Ansible
139139
group vars for the cloud. This means that the
140140
``prometheus_blackbox_exporter_endpoints`` variable can be removed from the
141141
environment's ``kolla/globals.yml`` file (if applicable) and the endpoints will
142-
fallback to the ones templated in the group vars. Additional endpoints may be
143-
added through the ``prometheus_blackbox_exporter_endpoints_kayobe`` variable.
142+
fallback to the ones templated in the group vars. Backend endpoints such as
143+
`these <https://github.com/stackhpc/stackhpc-kayobe-config/blob/094c2e012a037309d103c08a71eb633fdeb214e7/etc/kayobe/kolla/inventory/group_vars/prometheus-blackbox-exporter#L27-L64>`__
144+
are not yet templated by Kolla-Ansible.
145+
146+
Additional endpoints may still be added.
147+
148+
For Kolla-Ansible templating, use ``stackhpc_prometheus_blackbox_exporter_endpoints_custom``.
149+
For example:
150+
151+
.. code-block:: yaml
152+
:caption: ``etc/kayobe/kolla/inventory/group_vars/prometheus-blackbox-exporter``
153+
154+
stackhpc_prometheus_blackbox_exporter_endpoints_custom:
155+
- 'custom_service:http_2xx:{{ public_protocol }}://{{ external_fqdn | put_address_in_context('url') }}:{{ custom_serivce_port }}'
156+
157+
Alternatively, for Kayobe templating, use the ``prometheus_blackbox_exporter_endpoints_kayobe`` variable.
144158
For example:
145159

146160
.. code-block:: yaml

0 commit comments

Comments
 (0)