fix: add Loki schema config and chart preflight validation
This commit is contained in:
@@ -58,6 +58,14 @@
|
||||
dest: /tmp/loki-values.yaml
|
||||
mode: "0644"
|
||||
|
||||
- name: Validate Loki Helm values
|
||||
command: >-
|
||||
helm template loki grafana/loki
|
||||
--namespace {{ observability_namespace }}
|
||||
--version {{ loki_chart_version }}
|
||||
--values /tmp/loki-values.yaml
|
||||
changed_when: false
|
||||
|
||||
- name: Install Loki
|
||||
command: >-
|
||||
helm upgrade --install loki grafana/loki
|
||||
|
||||
@@ -4,6 +4,15 @@ loki:
|
||||
auth_enabled: false
|
||||
commonConfig:
|
||||
replication_factor: 1
|
||||
schemaConfig:
|
||||
configs:
|
||||
- from: "2024-01-01"
|
||||
store: tsdb
|
||||
object_store: filesystem
|
||||
schema: v13
|
||||
index:
|
||||
prefix: loki_index_
|
||||
period: 24h
|
||||
storage:
|
||||
type: filesystem
|
||||
|
||||
|
||||
Reference in New Issue
Block a user