diff options
Diffstat (limited to '')
-rw-r--r-- | tools/loki-promtail/values.yaml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/tools/loki-promtail/values.yaml b/tools/loki-promtail/values.yaml new file mode 100644 index 0000000..4db011d --- /dev/null +++ b/tools/loki-promtail/values.yaml @@ -0,0 +1,67 @@ +loki: + fullnameOverride: loki + persistence: + enabled: true + storageClassName: "standard" + accessModes: + - ReadWriteOnce + size: 10Gi + resources: + requests: + cpu: "100m" + memory: "256Mi" + limits: + cpu: "500m" + memory: "512Mi" + config: + schema_config: + configs: + - from: 2020-10-24 + store: boltdb-shipper + object_store: filesystem + schema: v11 + index: + prefix: index_ + period: 168h + storage_config: + boltdb_shipper: + active_index_directory: /var/loki/index + cache_location: /var/loki/cache + cache_ttl: 24h + shared_store: filesystem + filesystem: + directory: /var/loki/chunks + limits_config: + enforce_metric_name: false + reject_old_samples: true + reject_old_samples_max_age: 168h + +promtail: + fullnameOverride: promtail + config: + clients: + - url: http://loki:3100/loki/api/v1/push + positions: + filename: /run/promtail/positions.yaml + scrape_configs: + - job_name: system + static_configs: + - targets: + - localhost + labels: + job: varlogs + __path__: /var/log/*log + resources: + requests: + cpu: "50m" + memory: "128Mi" + limits: + cpu: "200m" + memory: "256Mi" + persistence: + enabled: true + storageClassName: "standard" + accessModes: + - ReadWriteOnce + size: 5Gi + |