Loki is a log aggregation system that aggregates logs from various sources, such as Kubernetes, and makes them available for search and analysis. It uses a label-based approach to categorize logs, making it easy to query and retrieve relevant logs. The system is designed to be horizontally scalable, highly available, and multi-tenant, making it suitable for use in a variety of environments, including home labs.
Install with:
helm repo add grafana oci://ghcr.io/grafana-operator/helm-charts/
helm install loki grafana/loki -f values.yaml
See examples from other people.
Name | Repo | Stars | Version | Timestamp |
---|---|---|---|---|
loki | Diaoul/home-ops | 60 | 6.12.0 | 2 days ago |
loki | Pumba98/flux2-gitops | 46 | 6.12.0 | 4 days ago |
loki | haraldkoch/kochhaus-home | 109 | 6.12.0 | 4 days ago |
loki | xunholy/k8s-gitops | 476 | 6.12.0 | 5 days ago |
loki | onedr0p/home-ops | 1922 | 6.12.0 | 5 days ago |
See the most popular values for this chart:
Key | Types |
---|---|
test.enabled (85) false | boolean |
number | |
write.persistence.storageClass (59) openebs-hostpath | string |
string | |
string | |
string | |
number | |
write.affinity (6) podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
podAffinityTerm:
labelSelector:
matchLabels:
{{- include "loki.writeSelectorLabels" . | nindent 12 }}
topologyKey: kubernetes.io/hostname
| string |
string | |
string | |
string | |
string | |
string | |
number | |
backend.persistence.storageClass (55) openebs-hostpath | string |
string | |
backend.extraVolumes[].name (22) rules | string |
backend.extraVolumes[].configMap.name (18) loki-alerting-rules | string |
backend.extraVolumeMounts[].mountPath (21) /rules/fake | string |
backend.extraVolumeMounts[].name (21) rules | string |
backend.affinity (5) podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
podAffinityTerm:
labelSelector:
matchLabels:
{{- include "loki.backendSelectorLabels" . | nindent 12 }}
topologyKey: kubernetes.io/hostname
| string |
string | |
string | |
string | |
string | |
number | |
read.persistence.storageClass (23) ceph-block | string |
string | |
string | |
string | |
boolean | |
string | |
string | |
string | |
string | |
number | |
read.affinity (6) podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
podAffinityTerm:
labelSelector:
matchLabels:
{{- include "loki.readSelectorLabels" . | nindent 12 }}
topologyKey: kubernetes.io/hostname
| string |
string | |
string | |
string | |
string | |
number | |
boolean | |
gateway.ingress.hosts[].host (54) loki.${SECRET_DOMAIN} | string |
string | |
string | |
string | |
gateway.ingress.tls[].hosts[] (36) - loki.${SECRET_DOMAIN} | string |
string | |
gateway.ingress.annotations."nginx.ingress.kubernetes.io/whitelist-source-range" (14) 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
| string |
string | |
string | |
gateway.ingress.annotations."cert-manager.io/cluster-issuer" (8) letsencrypt-production | string |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
gateway.image.registry (43) ghcr.io | string |
gateway.image.repository (15) nginxinc/nginx-unprivileged | string |
gateway.image.tag (15) 1.27-alpine@sha256:313aa0507d49c4e76b9f3ba43012688c8bf2af40e1a32024adeabaf06484a89f | string |
boolean | |
gateway.deploymentStrategy.type (14) RollingUpdate | string |
number, string | |
string | |
string | |
string | |
number | |
gateway.topologySpreadConstraints[].topologyKey (12) kubernetes.io/hostname | string |
string | |
gateway.affinity (6) podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
podAffinityTerm:
labelSelector:
matchLabels:
{{- include "loki.gatewaySelectorLabels" . | nindent 12 }}
topologyKey: kubernetes.io/hostname
| string |
string | |
string | |
string | |
string | |
string | |
string | |
boolean | |
boolean | |
string | |
string | |
boolean | |
string | |
string | |
string | |
loki.storage.bucketNames.chunks (14) loki-chunks | string |
loki.storage.bucketNames.admin (11) loki-admin | string |
loki.storage.bucketNames.ruler (11) loki-ruler | string |
string | |
string | |
string | |
string | |
string | |
loki.schemaConfig.configs[].from (56) 2024-04-01 | string |
string | |
string | |
string | |
string | |
string | |
boolean | |
boolean | |
number | |
number | |
string | |
boolean | |
string | |
string | |
boolean | |
string | |
string | |
number | |
string | |
boolean | |
number | |
boolean | |
string | |
number | |
string | |
number | |
string | |
number | |
string | |
string | |
number | |
number | |
number | |
number | |
string | |
number | |
string | |
string | |
string | |
loki.structuredConfig.ruler.alertmanager_url (50) http://alertmanager-operated.monitoring.svc.cluster.local:9093 | string |
boolean | |
boolean | |
loki.structuredConfig.ruler.rule_path (49) /tmp/scratch | string |
string | |
string | |
string | |
string | |
boolean | |
loki.structuredConfig.compactor.working_directory (31) /var/loki/boltdb-shipper-compactor | string |
string | |
string | |
string | |
number | |
string | |
number | |
number | |
boolean | |
number | |
string | |
number | |
string | |
boolean | |
boolean | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
number | |
string | |
number | |
loki.structuredConfig.memberlist.join_members[] (26) - loki-memberlist | string |
string | |
string | |
string | |
string | |
string | |
string | |
loki.structuredConfig.schema_config.configs[].store (25) boltdb-shipper | string |
boolean | |
boolean | |
boolean | |
number | |
string | |
string | |
number | |
string | |
string | |
string | |
string | |
boolean | |
boolean | |
string | |
string | |
string | |
string | |
boolean | |
string | |
string | |
boolean | |
string | |
string | |
string | |
number | |
string | |
boolean | |
string | |
boolean | |
number | |
number | |
string | |
string | |
boolean | |
number | |
string | |
string | |
string | |
boolean | |
boolean | |
string | |
number | |
number | |
number | |
number | |
string | |
string | |
boolean | |
loki.compactor.working_directory (11) /var/loki/compactor/retention | string |
string | |
string | |
number | |
string | |
string | |
loki.rulerConfig.alertmanager_url (11) http://alertmanager.monitoring.svc.cluster.local:9093 | string |
boolean | |
boolean | |
loki.rulerConfig.rule_path (9) /rules/fake | string |
string | |
string | |
number | |
number | |
boolean | |
string | |
string | |
boolean | |
string | |
string | |
string | |
string | |
string | |
string | |
boolean | |
deploymentMode (54) SimpleScalable | string |
boolean | |
boolean | |
boolean | |
string | |
boolean | |
boolean | |
boolean | |
string | |
string | |
string | |
boolean | |
string, boolean | |
string | |
string | |
boolean | |
boolean | |
boolean | |
boolean | |
sidecar.image.repository (33) ghcr.io/kiwigrid/k8s-sidecar | string |
sidecar.rules.folder (29) /rules/fake | string |
string | |
boolean | |
number | |
singleBinary.persistence.storageClass (23) openebs-hostpath | string |
string | |
boolean | |
string | |
string | |
string | |
string | |
string | |
string | |
boolean | |
number | |
string | |
string | |
boolean | |
string | |
string | |
minio.enabled (4) false | boolean |
boolean | |
string | |
boolean | |
boolean | |
string | |
number | |
number | |
boolean | |
boolean | |
boolean | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
boolean | |
string | |
string | |
string | |
string | |
string | |
number | |
boolean | |
number | |
string | |
string | |
number | |
string | |
string | |
boolean | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
number | |
string | |
string | |
string | |
string | |
boolean | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
number | |
number | |
number | |
number | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
number | |
string | |
number | |
number | |
number | |
string | |
string | |
boolean | |
string | |
string | |
string | |
string | |
string | |
number | |
string | |
string | |
number | |
number | |
number | |
number | |
number | |
string | |
string |