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 | mchestr/home-cluster | 83 | 6.25.0 | an hour ago |
loki | tyriis/home-ops | 48 | 6.25.0 | 2 hours ago |
loki | xunholy/k8s-gitops | 525 | 6.25.0 | 3 hours ago |
loki | larivierec/home-cluster | 99 | 6.25.0 | 3 hours ago |
loki | buroa/k8s-gitops | 212 | 6.25.0 | 3 hours ago |
See the most popular values for this chart:
Key | Types |
---|---|
test.enabled (92) false | boolean |
number | |
backend.persistence.storageClass (36) openebs-hostpath | string |
string | |
backend.extraVolumeMounts[].mountPath (16) /rules/fake | string |
backend.extraVolumeMounts[].name (16) rules | string |
backend.extraVolumes[].name (16) rules | string |
backend.extraVolumes[].configMap.name (15) 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 | |
number | |
write.persistence.storageClass (39) openebs-hostpath | string |
string | |
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 | |
number | |
read.persistence.storageClass (17) 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 | |
number | |
boolean | |
gateway.ingress.hosts[].host (39) loki.${SECRET_DOMAIN} | string |
string | |
string | |
string | |
gateway.ingress.tls[].hosts[] (27) - loki.${SECRET_DOMAIN} | string |
string | |
string | |
gateway.ingress.annotations."nginx.ingress.kubernetes.io/whitelist-source-range" (9) 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
| string |
gateway.ingress.annotations."cert-manager.io/cluster-issuer" (7) letsencrypt-production | string |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
gateway.image.registry (30) ghcr.io | string |
gateway.image.repository (12) nginxinc/nginx-unprivileged | string |
gateway.image.tag (12) 1.25-alpine | string |
boolean | |
gateway.deploymentStrategy.type (11) RollingUpdate | string |
number, string | |
number, string | |
string | |
string | |
number | |
gateway.topologySpreadConstraints[].topologyKey (10) kubernetes.io/hostname | string |
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 (76) filesystem | string |
boolean | |
boolean | |
string | |
string | |
boolean | |
string | |
string | |
string | |
loki.storage.bucketNames.chunks (9) loki-chunks | string |
loki.storage.bucketNames.admin (7) loki-admin | string |
loki.storage.bucketNames.ruler (7) loki-ruler | string |
string | |
string | |
string | |
loki.schemaConfig.configs[].from (71) 2024-04-01 | string |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
boolean | |
number | |
boolean | |
string | |
number | |
number | |
boolean | |
string | |
string | |
string | |
string | |
number | |
boolean | |
string | |
string | |
number | |
number | |
number | |
number | |
string | |
boolean | |
boolean | |
boolean | |
string | |
boolean | |
string | |
number | |
string | |
string | |
number | |
number | |
number | |
number | |
boolean | |
loki.compactor.working_directory (38) /var/loki/compactor/retention | string |
loki.compactor.delete_request_store (37) filesystem | string |
string | |
number | |
string | |
string | |
boolean | |
boolean | |
string | |
number | |
number | |
number | |
number | |
number | |
number | |
boolean | |
string | |
string | |
string | |
boolean | |
string | |
string | |
boolean | |
string | |
number | |
number | |
loki.structuredConfig.ruler.alertmanager_url (32) http://alertmanager-operated.observability.svc.cluster.local:9093 | string |
boolean | |
boolean | |
loki.structuredConfig.ruler.rule_path (31) /tmp/scratch | string |
string | |
string | |
string | |
string | |
boolean | |
loki.structuredConfig.compactor.working_directory (21) /var/loki/boltdb-shipper-compactor | string |
string | |
string | |
number | |
string | |
string | |
number | |
string | |
number | |
string | |
boolean | |
boolean | |
string | |
string | |
string | |
string | |
string | |
number | |
number | |
boolean | |
string | |
string | |
number | |
string | |
number | |
loki.structuredConfig.memberlist.join_members[] (18) - loki-memberlist | string |
string | |
string | |
string | |
string | |
string | |
string | |
loki.structuredConfig.schema_config.configs[].store (17) boltdb-shipper | string |
string | |
string | |
string | |
number | |
loki.rulerConfig.alertmanager_url (8) http://alertmanager.monitoring.svc.cluster.local:9093 | string |
boolean | |
boolean | |
loki.rulerConfig.rule_path (7) /rules/fake | string |
string | |
string | |
number | |
string | |
boolean | |
string | |
string | |
boolean | |
string | |
number | |
string | |
string | |
boolean | |
number | |
string | |
boolean | |
boolean | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
deploymentMode (71) SingleBinary | string |
boolean | |
number | |
singleBinary.persistence.storageClass (50) openebs-hostpath | string |
string | |
boolean | |
string | |
string | |
string | |
string | |
boolean | |
string | |
string | |
string | |
string | |
string | |
string | |
sidecar.image.repository (52) ghcr.io/kiwigrid/k8s-sidecar | string |
string | |
sidecar.rules.folder (21) /rules/fake | string |
boolean | |
string | |
boolean | |
boolean | |
string | |
boolean | |
string | |
boolean | |
number | |
string | |
string | |
boolean | |
string | |
string | |
boolean | |
boolean | |
boolean | |
boolean | |
boolean | |
string | |
string | |
string | |
boolean | |
string | |
boolean | |
boolean | |
boolean | |
boolean | |
boolean | |
string | |
number | |
number | |
number | |
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 | |
number | |
number | |
number | |
minio.enabled (3) false | boolean |
number | |
number | |
number | |
string | |
string | |
string | |
string | |
boolean | |
string | |
string | |
boolean | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
string | |
number | |
string | |
number | |
boolean | |
string | |
string | |
boolean | |
string | |
string | |
string | |
string | |
string | |
number | |
string | |
string | |
boolean | |
number | |
number | |
string | |
string | |
string |