Skip to content

Commit 12721b7

Browse files
committed
Add kolla docs, update cafile handling
1 parent f5c9e41 commit 12721b7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/source/configuration/cloudkitty.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Configuring in kayobe-config
88
By default, CloudKitty uses Gnocchi and Ceilometer as the collector and fetcher
99
backends. Unless the system has a specific reason not to, we recommend instead
1010
using Prometheus as the backend for both. The following instructions explain
11-
how to do this.
11+
how to do this. Also, see the `Kolla Ansible docs on CloudKitty
12+
<https://docs.openstack.org/kolla-ansible/latest/reference/rating/cloudkitty-guide.html>`__
13+
for more details.
1214

1315
Enable CloudKitty and disable InfluxDB, as we are using OpenSearch as the
1416
storage backend. Set the following in ``kolla.yml``:
@@ -34,15 +36,14 @@ following in ``kolla/globals.yml``:
3436
cloudkitty_storage_backend: elasticsearch
3537
3638
If you have TLS enabled, you will also need to set the cafile for Prometheus
37-
and Elasticsearch. Set the following in ``kolla/globals.yml``, and make sure
38-
that ``openstack_cacert`` is appropriately set as a Kayobe variable too. It
39-
defaults to ``openstack_cacert: "{{ lookup('env', 'OS_CACERT') }}"``, but you
40-
may prefer to set the path explicitly.
39+
and Elasticsearch. Set the following in ``kolla/globals.yml``.
4140

4241
.. code-block:: yaml
4342
43+
{% raw %}
4444
cloudkitty_prometheus_cafile: "{{ openstack_cacert }}"
4545
cloudkitty_elasticsearch_cafile: "{{ openstack_cacert }}"
46+
{% endraw %}
4647
4748
The default collection period is one hour, which is likely too long for most
4849
systems as CloudKitty charges by the **entire** collection period if any usage

0 commit comments

Comments
 (0)