No introduction found. Create it?
Install with:
helm repo add alloy oci://ghcr.io/home-operations/charts-mirror/alloy
helm install alloy alloy/alloy -f values.yamlSee examples from other people.
| Name | Repo | Stars | Version | Timestamp |
|---|---|---|---|---|
| alloy | deedee-ops/home-ops | 36 | 1.15.0 | 10 hours ago |
| alloy | szinn/k8s-homelab | 318 | 1.15.0 | 6 months ago |
See the most popular values for this chart:
| Key | Types |
|---|---|
| boolean | |
| string | |
| string | |
serviceMonitor.metricRelabelings[].regex (2) loki_(source_syslog_.*|process_dropped_lines_total|process_dropped_lines_by_label_total|write_(sent|dropped)_(bytes|entries)_total|write_batch_retries_total|write_request_duration_seconds_(sum|count))|alloy_build_info|alloy_config_(last_load_successful|last_load_success_timestamp_seconds)|alloy_resources_(process_resident_memory_bytes|process_cpu_seconds_total) | string |
| string | |
| string | |
serviceMonitor.relabelings[].regex (2) alloy-cluster | string |
serviceMonitor.relabelings[].sourceLabels[] (2) - __meta_kubernetes_service_name | string |
| boolean | |
alloy.configMap.key (11) config.alloy | string |
alloy.configMap.name (11) alloy-configmap | string |
alloy.configMap.content (10) logging {
level = "info"
format = "logfmt"
}
local.file_match "pods" {
path_targets = [{"__path__" = "/var/log/pods/*/*/*.log"}]
}
discovery.relabel "pods" {
targets = local.file_match.pods.targets
rule {
source_labels = ["__path__"]
regex = "/var/log/pods/([^_]+)_([^_]+)_[^/]+/([^/]+)/.*"
target_label = "namespace"
replacement = "$1"
}
rule {
source_labels = ["__path__"]
regex = "/var/log/pods/([^_]+)_([^_]+)_[^/]+/([^/]+)/.*"
target_label = "pod"
replacement = "$2"
}
rule {
source_labels = ["__path__"]
regex = "/var/log/pods/([^_]+)_([^_]+)_[^/]+/([^/]+)/.*"
target_label = "container"
replacement = "$3"
}
rule {
target_label = "node"
replacement = sys.env("HOSTNAME")
}
rule {
target_label = "job"
replacement = "pods"
}
}
loki.source.file "pods" {
targets = discovery.relabel.pods.output
forward_to = [loki.process.pods.receiver]
}
loki.process "pods" {
stage.cri {}
stage.label_drop {
values = ["filename"]
}
forward_to = [loki.write.loki.receiver]
}
loki.source.kubernetes_events "events" {
job_name = "events"
log_format = "json"
clustering {
enabled = true
}
forward_to = [loki.process.events.receiver]
}
loki.process "events" {
stage.label_drop {
values = ["instance"]
}
forward_to = [loki.write.loki.receiver]
}
loki.write "loki" {
endpoint {
url = "http://loki.observability.svc.cluster.local:3100/loki/api/v1/push"
max_backoff_retries = 0
}
}
| string |
alloy.mounts.extra[].mountPath (10) /var/lib/alloy | string |
| string | |
| boolean | |
| boolean | |
| boolean | |
| string | |
| string | |
| string | |
alloy.storagePath (7) /var/lib/alloy | string |
| boolean | |
| boolean | |
| boolean | |
| string | |
| boolean | |
| number | |
| number | |
| boolean | |
alloy.securityContext.seccompProfile.type (2) RuntimeDefault | string |
alloy.extraEnv[].name (3) NODE_NAME | string |
alloy.extraEnv[].valueFrom.fieldRef.fieldPath (3) spec.nodeName | string |
alloy.extraPorts[].name (3) tcp-syslog | string |
alloy.extraPorts[].port (3) 1514 | number |
| string | |
| number | |
alloy.stabilityLevel (1) experimental | string |
| string | |
controller.type (10) daemonset | string |
| string | |
controller.volumes.extra[].hostPath.path (8) /var/lib/alloy | string |
controller.volumes.extra[].hostPath.type (8) DirectoryOrCreate | string |
| string | |
controller.tolerations[].effect (4) NoSchedule | string |
controller.tolerations[].operator (4) Exists | string |
controller.tolerations[].key (3) node-role.kubernetes.io/master | string |
| string | |
controller.dnsPolicy (2) ClusterFirstWithHostNet | string |
| boolean | |
controller.initContainers[].args[] (2) - if [ -f /etc/alloy/geoip/GeoLite2-City.mmdb ]; then
echo "GeoIP database already exists, skipping download"
exit 0
fi
exec /usr/bin/geoipupdate
| string |
controller.initContainers[].command[] (2) - /bin/sh | string |
controller.initContainers[].env[].name (2) GEOIPUPDATE_ACCOUNT_ID | string |
controller.initContainers[].env[].value (2) GeoLite2-City GeoLite2-ASN | string |
controller.initContainers[].env[].valueFrom.secretKeyRef.key (2) GEOIPUPDATE_ACCOUNT_ID | string |
controller.initContainers[].env[].valueFrom.secretKeyRef.name (2) alloy-maxmind-secret | string |
controller.initContainers[].image (2) ghcr.io/maxmind/geoipupdate:v7 | string |
controller.initContainers[].name (2) geoip-download | string |
controller.initContainers[].volumeMounts[].mountPath (2) /etc/alloy/geoip | string |
| string | |
| string | |
| string | |
| number | |
controller.updateStrategy.type (2) RollingUpdate | string |
crds.create (6) false | boolean |
image.repository (2) grafana/alloy | string |
image.tag (2) v1.21.3@sha256:8ab871206bd2d8f89277f53abffee5f452a293980788d52f85fa183a87a505a4 | string |
rbac.create (2) false | boolean |
| boolean | |
| string | |
| boolean | |
| string | |
| number | |
| boolean | |
| number | |
global.podSecurityContext.seccompProfile.type (1) RuntimeDefault | string |