forked from canonical/loki-k8s-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.yaml
64 lines (53 loc) · 1.62 KB
/
metadata.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
# For a complete list of supported options, see:
# https://discourse.charmhub.io/t/charm-metadata-v2/3674/15
name: loki-k8s
assumes:
- k8s-api
summary: |
Loki is a set of components that can be composed into a fully featured logging stack.
description: |
Loki for Kubernetes cluster
maintainers:
- Jose Massón <[email protected]>
website: https://charmhub.io/loki-k8s
source: https://github.com/canonical/loki-k8s-operator
issues: https://github.com/canonical/loki-k8s-operator/issues
docs: https://discourse.charmhub.io/t/loki-k8s-docs-index/5228
containers:
loki:
resource: loki-image
mounts:
- storage: active-index-directory
location: /loki/boltdb-shipper-active
- storage: loki-chunks
location: /loki/chunks
storage:
active-index-directory:
type: filesystem
description: Mount point in which Loki will store index
loki-chunks:
type: filesystem
description: Mount point in which Loki will store chunks (objects)
provides:
logging:
interface: loki_push_api
grafana-source:
interface: grafana_datasource
optional: true
metrics-endpoint:
interface: prometheus_scrape
grafana-dashboard:
interface: grafana_dashboard
requires:
alertmanager:
interface: alertmanager_dispatch
ingress:
interface: ingress_per_unit
limit: 1 # Since this is the ingress there is no point in having more than one.
resources:
loki-image:
type: oci-image
description: Loki OCI image "ghcr.io/canonical/loki:2.7.4"
upstream-source: ghcr.io/canonical/loki:2.7.4