Skip to content

Commit 6a51565

Browse files
committed
add minio s3 settings back
as filesystem is not supported in distributed mode Assisted-by: Cursor AI Signed-off-by: obetsun <[email protected]> rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
1 parent 901ca32 commit 6a51565

File tree

3 files changed

+19
-24
lines changed

3 files changed

+19
-24
lines changed

components/vector-kubearchive-log-collector/development/loki-helm-dev-values.yaml

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,22 @@ loki:
5757
min_join_backoff: 1s
5858
rejoin_interval: 90s
5959
storage:
60-
# bucketNames:
61-
# chunks: loki-data
62-
# admin: loki-data
63-
# s3:
64-
# endpoint: http://minio:9000
65-
# region: us-east-1
66-
# s3ForcePathStyle: true
67-
# insecure: true
68-
type: filesystem
60+
bucketNames:
61+
chunks: loki-data
62+
admin: loki-data
63+
s3:
64+
endpoint: http://minio:9000
65+
region: us-east-1
66+
s3ForcePathStyle: true
67+
insecure: true
6968
storage_config:
70-
# aws:
71-
# s3: s3://loki-chunks
72-
# s3forcepathstyle: true
73-
# bucketnames: loki-data
74-
# region: us-east-1
75-
# endpoint: minio:9000
76-
# insecure: true
77-
# Filesystem storage configuration
78-
filesystem:
79-
directory: /var/loki/chunks
69+
aws:
70+
s3: s3://loki-chunks
71+
s3forcepathstyle: true
72+
bucketnames: loki-data
73+
region: us-east-1
74+
endpoint: minio:9000
75+
insecure: true
8076
limits_config:
8177
retention_period: 24h # Reduce from 744h for development
8278
ingestion_rate_mb: 5 # Reduce from 10 for development

components/vector-kubearchive-log-collector/development/loki-helm-minio-values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
# Enable minio for storage
3+
# Required for distributed mode - filesystem storage is not supported in distributed deployments
34
minio:
4-
enabled: false
5+
enabled: true
56
rootUser: loki
67
rootPassword: supersecret
78
mode: standalone

components/vector-kubearchive-log-collector/development/loki-helm-values.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@ loki:
1717
commonConfig:
1818
path_prefix: /var/loki # This directory will be writable via volume mount
1919
storage:
20-
# type: s3
21-
type: filesystem
20+
type: s3
2221
schemaConfig:
2322
configs:
2423
- from: "2024-04-01"
2524
store: tsdb
26-
# object_store: s3
27-
object_store: filesystem
25+
object_store: s3
2826
schema: v13
2927
index:
3028
prefix: loki_index_

0 commit comments

Comments
 (0)