Skip to content

Add reminder to remove custom blackbox endpoints #1515

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: stackhpc/master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions doc/source/operations/upgrading-openstack.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,25 @@ should switch to the `native
<https://prometheus.io/docs/alerting/latest/configuration/#msteams_config>`__
Prometheus Teams integration.

Prometheus blackbox exporter endpoints
--------------------------------------

Endpoints for the blackbox exporter are now templated in the kolla-ansible
group vars for the cloud. This means that the
``prometheus_blackbox_exporter_endpoints`` variable can be removed from the
environment's ``kolla/globals.yml`` file (if applicable) and the endpoints will
fallback to the ones templated in the group vars. Additional endpoints may be
added through the ``prometheus_blackbox_exporter_endpoints_kayobe`` variable.
For example:
Comment on lines +88 to +94
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Endpoints for the blackbox exporter are now templated in the kolla-ansible
group vars for the cloud.

Not all endpoints are templated e.g. backend endpoints. They're still done here in SKC.

Additional endpoints may be
added through the prometheus_blackbox_exporter_endpoints_kayobe variable.

That varies depending on what you want to template. This is all correct if you want it to be templated by kayobe, but you can also use stackhpc_prometheus_blackbox_exporter_endpoints_custom if you want it templated by Kolla Ansible


.. code-block:: yaml
:caption: ``kolla/globals.yml``

prometheus_blackbox_exporter_endpoints_kayobe:
- endpoints:
- "pulp:http_2xx:{{ pulp_url }}/pulp/api/v3/status/"
enabled: "{{ seed_pulp_container_enabled | bool }}"

Known issues
============

Expand Down