Guillaume Boutry 0214e8f173
[*-k8s] implement log forwarder
Implement LogForwardHandler for every k8s charm to forward service
stdout to logging provider.

Tempest-k8s is excluded  because it implements its own logging handler.

Change-Id: Iccc9f1f911acfaaecf733fe78cc4bc3191a231d5
Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
2024-07-07 21:04:11 +02:00

68 lines
1.6 KiB
YAML

name: gnocchi-k8s
summary: OpenStack gnocchi service
maintainer: OpenStack Charmers <openstack-charmers@lists.ubuntu.com>
description: |
OpenStack gnocchi provides an HTTP service for managing, selecting,
and claiming providers of classes of inventory representing available
resources in a cloud.
.
version: 3
bases:
- name: ubuntu
channel: 22.04/stable
assumes:
- k8s-api
- juju >= 3.1
tags:
- openstack
source: https://opendev.org/openstack/charm-gnocchi-k8s
issues: https://bugs.launchpad.net/charm-gnocchi-k8s
containers:
gnocchi-api:
resource: gnocchi-api-image
gnocchi-metricd:
resource: gnocchi-metricd-image
resources:
gnocchi-api-image:
type: oci-image
description: OCI image for OpenStack Gnocchi api service
# ghcr.io/canonical/gnocchi-api:2024.1
upstream-source: ghcr.io/canonical/gnocchi-consolidated:2024.1
gnocchi-metricd-image:
type: oci-image
description: OCI image for OpenStack Gnocchi Metric service
# ghcr.io/canonical/gnocchi-metricd:2024.1
upstream-source: ghcr.io/canonical/gnocchi-consolidated:2024.1
requires:
database:
interface: mysql_client
limit: 1
identity-service:
interface: keystone
ingress-internal:
interface: ingress
optional: true
limit: 1
ingress-public:
interface: ingress
limit: 1
ceph:
interface: ceph-client
receive-ca-cert:
interface: certificate_transfer
optional: true
logging:
interface: loki_push_api
optional: true
provides:
gnocchi-service:
interface: gnocchi
peers:
peers:
interface: gnocchi-peer