Loki
- Canonical Observability
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 161 | 03 Dec 2024 | |
latest/candidate | 177 | 03 Dec 2024 | |
latest/beta | 181 | 03 Dec 2024 | |
latest/edge | 184 | 18 Dec 2024 | |
1.0/stable | 104 | 12 Dec 2023 | |
1.0/candidate | 104 | 22 Nov 2023 | |
1.0/beta | 104 | 22 Nov 2023 | |
1.0/edge | 104 | 22 Nov 2023 |
juju deploy loki-k8s
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
-
cpu | string
K8s cpu resource limit, e.g. "1" or "500m". Default is unset (no limit). This value is used for the "limits" portion of the resource requirements (the "requests" portion is automatically deduced from it). See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
-
ingestion-burst-size-mb | int
Default: 15
This config option matches exactly Loki's
ingestion_burst_size_mb
, except that it is an integer here (Loki takes a float). This same value is used internally for settingper_stream_rate_limit_burst
. Loki uses a default of 6 foringestion_burst_size_mb
, but 15 forper_stream_rate_limit_burst
. For this reason we use 15 as the default here.Ref: https://grafana.com/docs/loki/latest/configure/#limits_config
-
ingestion-rate-mb | int
Default: 4
Per-user ingestion rate limit (MB/s). This config option matches exactly Loki's
ingestion_rate_mb
, except that it is an integer here (Loki takes a float). This same value is used internally for settingper_stream_rate_limit
. Loki uses a default of 3 foringestion_rate_mb
, but 4 forper_stream_rate_limit
. For this reason we use 4 as the default here.Ref: https://grafana.com/docs/loki/latest/configure/#limits_config
-
memory | string
K8s memory resource limit, e.g. "1Gi". Default is unset (no limit). This value is used for the "limits" portion of the resource requirements (the "requests" portion is automatically deduced from it). See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
-
retention-period | int
Sets a global retention period for log streams in Loki. A value of 0 disables retention (default). Minimum retention period is 1d. Specify the period in days. For example, to set a 48-day retention period, use
48
. Specifying retention periods for individual streams is not currently supported.