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