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 | szinn/k8s-homelab | 191 | 6.21.0 | an hour ago |
loki | Pumba98/flux2-gitops | 50 | 6.19.0 | 3 hours ago |
loki | mchestr/home-cluster | 65 | 6.21.0 | 4 hours ago |
loki | rafaribe/home-ops | 51 | 6.21.0 | 5 hours ago |
loki | budimanjojo/home-cluster | 165 | 6.21.0 | 6 hours ago |
See the most popular values for this chart:
Key | Types |
---|---|
test.enabled (90) false | boolean |
number | |
backend.persistence.storageClass (49) openebs-hostpath | string |
string | |
boolean | |
backend.extraVolumeMounts[].mountPath (20) /rules/fake | string |
backend.extraVolumeMounts[].name (20) rules | string |
backend.extraVolumes[].name (20) rules | string |
backend.extraVolumes[].configMap.name (16) loki-alerting-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 | |
string | |
number | |
write.persistence.storageClass (51) openebs-hostpath | string |
string | |
boolean | |
string | |
string | |
number | |
write.affinity (5) podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
podAffinityTerm:
labelSelector:
matchLabels:
{{- include "loki.writeSelectorLabels" . | nindent 12 }}
topologyKey: kubernetes.io/hostname
| string |
string | |
string | |
string | |
string | |
string | |
string | |
number | |
read.persistence.storageClass (22) ceph-block | string |
string | |
string | |
string | |
string | |
string | |
boolean | |
string | |
string | |
number | |
read.affinity (5) podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
podAffinityTerm:
labelSelector:
matchLabels:
{{- include "loki.readSelectorLabels" . | nindent 12 }}
topologyKey: kubernetes.io/hostname
| string |
string | |
string | |
string | |
string | |
string | |
number | |
boolean | |
gateway.ingress.hosts[].host (46) loki.${SECRET_DOMAIN} | string |
string | |
string | |
string | |
gateway.ingress.tls[].hosts[] (32) - loki.${SECRET_DOMAIN} | string |
string | |
gateway.ingress.annotations."nginx.ingress.kubernetes.io/whitelist-source-range" (11) 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
| string |
gateway.ingress.annotations."external-dns.alpha.kubernetes.io/target" (9) internal.${SECRET_DOMAIN} | string |
string | |
gateway.ingress.annotations."cert-manager.io/cluster-issuer" (6) letsencrypt-production | string |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
gateway.image.registry (38) ghcr.io | string |
gateway.image.repository (15) nginxinc/nginx-unprivileged | string |
gateway.image.tag (15) 1.27-alpine@sha256:c03cfec61c6ed6a8e6c34749e9bf77e0a01d8f7e352afaf500e2a619459b01c6 | string |
boolean | |
string | |
string | |
number | |
gateway.topologySpreadConstraints[].topologyKey (12) kubernetes.io/hostname | string |
string | |
string | |
string | |
gateway.deploymentStrategy.type (11) RollingUpdate | string |
gateway.affinity (5) podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
podAffinityTerm:
labelSelector:
matchLabels:
{{- include "loki.gatewaySelectorLabels" . | nindent 12 }}
topologyKey: kubernetes.io/hostname
| string |
string | |
string | |
string | |
string | |
loki.storage.type (71) filesystem | string |
boolean | |
boolean | |
string | |
string | |
boolean | |
string | |
string | |
string | |
loki.storage.bucketNames.chunks (15) 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 (65) 2024-04-01 | string |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
boolean | |
number | |
string | |
boolean | |
boolean | |
string | |
number | |
number | |
number | |
number | |
string | |
number | |
string | |
string | |
string | |
number | |
number | |
string | |
boolean | |
string | |
string | |
boolean | |
string | |
string | |
number | |
boolean | |
string | |
number | |
boolean | |
string | |
number | |
string | |
number | |
string | |
number | |
string | |
loki.structuredConfig.ruler.alertmanager_url (42) http://alertmanager-operated.observability.svc.cluster.local:9093 | string |
boolean | |
loki.structuredConfig.ruler.rule_path (42) /tmp/scratch | string |
boolean | |
string | |
string | |
string | |
boolean | |
loki.structuredConfig.compactor.working_directory (26) /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 | |
string | |
string | |
loki.structuredConfig.memberlist.join_members[] (22) - loki-memberlist | string |
string | |
string | |
string | |
string | |
string | |
loki.structuredConfig.schema_config.configs[].store (21) boltdb-shipper | string |
string | |
number | |
string | |
boolean | |
boolean | |
boolean | |
number | |
string | |
string | |
string | |
string | |
boolean | |
boolean | |
string | |
string | |
string | |
string | |
boolean | |
string | |
number | |
number | |
boolean | |
string | |
string | |
string | |
string | |
boolean | |
number | |
string | |
boolean | |
boolean | |
string | |
number | |
number | |
number | |
number | |
string | |
string | |
string | |
string | |
string | |
boolean | |
loki.compactor.working_directory (24) /var/loki/compactor/retention | string |
loki.compactor.delete_request_store (23) filesystem | 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 | |
boolean | |
string | |
string | |
string | |
string | |
string | |
string | |
deploymentMode (63) SingleBinary | string |
boolean | |
boolean | |
boolean | |
string | |
boolean | |
boolean | |
boolean | |
string | |
string | |
string | |
boolean | |
string | |
string | |
string | |
boolean | |
boolean | |
boolean | |
boolean | |
sidecar.image.repository (43) ghcr.io/kiwigrid/k8s-sidecar | string |
string | |
sidecar.rules.folder (26) /rules/fake | string |
boolean | |
string | |
boolean | |
number | |
singleBinary.persistence.storageClass (37) openebs-hostpath | string |
string | |
boolean | |
boolean | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
boolean | |
number | |
string | |
string | |
boolean | |
string | |
string | |
minio.enabled (4) false | boolean |
boolean | |
string | |
boolean | |
boolean | |
string | |
string | |
string | |
string | |
string | |
config.storage_config.boltdb_shipper.active_index_directory (3) /data/loki/index | string |
config.storage_config.boltdb_shipper.cache_location (3) /data/loki/index_cache | string |
string | |
string | |
boolean | |
boolean | |
string | |
number | |
number | |
boolean | |
boolean | |
string | |
string | |
string | |
string | |
string | |
number | |
boolean | |
number | |
string | |
string | |
number | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
number | |
string | |
string | |
string | |
string | |
boolean | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
boolean | |
number | |
number | |
number | |
number | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
number | |
string | |
number | |
boolean | |
string | |
string | |
number | |
number | |
number | |
string | |
string | |
string | |
boolean | |
number | |
number | |
number | |
number | |
number | |
string | |
string | |
string |