init commit
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
---
|
||||
"kind": "ServiceAccount"
|
||||
"apiVersion": "v1"
|
||||
"metadata":
|
||||
"name": "loki"
|
||||
"namespace": "loki"
|
||||
---
|
||||
"kind": "ConfigMap"
|
||||
"apiVersion": "v1"
|
||||
"metadata":
|
||||
"name": "loki-config"
|
||||
"namespace": "loki"
|
||||
"data":
|
||||
"loki.yaml": |
|
||||
auth_enabled: false
|
||||
|
||||
server:
|
||||
http_listen_port: 3100
|
||||
grpc_listen_port: 9096
|
||||
|
||||
common:
|
||||
instance_addr: 127.0.0.1
|
||||
path_prefix: /loki
|
||||
storage:
|
||||
filesystem:
|
||||
chunks_directory: /loki/chunks
|
||||
rules_directory: /loki/rules
|
||||
replication_factor: 1
|
||||
ring:
|
||||
kvstore:
|
||||
store: inmemory
|
||||
|
||||
schema_config:
|
||||
configs:
|
||||
- from: "2024-04-01"
|
||||
store: tsdb
|
||||
object_store: filesystem
|
||||
schema: v13
|
||||
index:
|
||||
prefix: index_
|
||||
period: 24h
|
||||
|
||||
limits_config:
|
||||
allow_structured_metadata: true
|
||||
reject_old_samples: true
|
||||
reject_old_samples_max_age: 168h
|
||||
ingestion_rate_mb: 16
|
||||
ingestion_burst_size_mb: 32
|
||||
max_cache_freshness_per_query: 10m
|
||||
|
||||
storage_config:
|
||||
filesystem:
|
||||
directory: /loki/chunks
|
||||
tsdb_shipper:
|
||||
active_index_directory: /loki/index
|
||||
cache_location: /loki/index_cache
|
||||
|
||||
---
|
||||
"kind": "PersistentVolumeClaim"
|
||||
"apiVersion": "v1"
|
||||
"metadata":
|
||||
"name": "loki-data"
|
||||
"namespace": "loki"
|
||||
"spec":
|
||||
"accessModes":
|
||||
- "ReadWriteOnce"
|
||||
"resources":
|
||||
"requests":
|
||||
"storage": "20Gi"
|
||||
"storageClassName": "nfs-csi"
|
||||
"volumeMode": "Filesystem"
|
||||
Reference in New Issue
Block a user