sunbeam-charms/charms/ceilometer-k8s/README.md
Hemanth Nakkina bf2bdc90b7 Wait for gnocchi service before configuring ceilometer
Currently the ceilometer services are configured and
ceilometer dbsync is run as an action.
A new interface gnocchi_service is introduced that
updates relation data when gnocchi service is up.
Add new relation gnocchi_service in metadata.yaml
as a mandatory relation.
Update dbsync commands so that they are run as part
of configure_charm.
Remove the action ceilometer-upgrade that does the
dbsync as it is no more required.

Change-Id: Iba72250f3d31ef9dafa5b3bd16abefd43a74366a
2023-10-11 09:00:57 +05:30

2.0 KiB

ceilometer-k8s

Description

ceilometer-k8s is an operator to manage the ceilometer services ceilometer-central and ceilometer-notification on a Kubernetes based environment.

Usage

Deployment

ceilometer-k8s is deployed using below command:

juju deploy ceilometer-k8s ceilometer --trust

Now connect the ceilometer operator to keystone identity, rabbitmq and gnocchi operators:

juju relate keystone:identity-service ceilometer:identity-service
juju relate rabbitmq:amqp ceilometer:amqp
juju relate gnocchi:gnocchi-service ceilometer:gnocchi-db

Configuration

This section covers common and/or important configuration options. See file config.yaml for the full list of options, along with their descriptions and default values. See the Juju documentation for details on configuring applications.

Actions

This section covers Juju actions supported by the charm. Actions allow specific operations to be performed on a per-unit basis. To display action descriptions run juju actions ceilometer. If the charm is not deployed then see file actions.yaml.

Relations

ceilometer-k8s requires the following relations:

identity-service: To register endpoints in Keystone amqp: To connect to Rabbitmq gnocchi-db: To connect to Gnocchi database

OCI Images

The charm by default uses following images:

ghcr.io/canonical/ceilometer-consolidated:2023.2

Contributing

Please see the Juju SDK docs for guidelines on enhancements to this charm following best practice guidelines, and CONTRIBUTING.md for developer guidance.

Bugs

Please report bugs on Launchpad.