88 lines
2.0 KiB
YAML
88 lines
2.0 KiB
YAML
loki:
|
|
commonConfig:
|
|
replication_factor: 1
|
|
schemaConfig:
|
|
configs:
|
|
- from: "2024-04-01"
|
|
store: tsdb
|
|
object_store: s3
|
|
schema: v13
|
|
index:
|
|
prefix: loki_index_
|
|
period: 24h
|
|
storage_config:
|
|
aws:
|
|
region: cn-shanghai
|
|
bucketnames: k3s-loki-dev-chunk
|
|
s3forcepathstyle: false
|
|
pattern_ingester:
|
|
enabled: true
|
|
limits_config:
|
|
allow_structured_metadata: true
|
|
volume_enabled: true
|
|
ruler:
|
|
enable_api: true
|
|
|
|
storage:
|
|
type: s3
|
|
bucketNames:
|
|
chunks: loki-chunk
|
|
ruler: loki-ruler
|
|
admin: loki-admin
|
|
s3:
|
|
# s3 URL can be used to specify the endpoint, access key, secret key, and bucket name this works well for S3 compatible storages or are hosting Loki on-premises and want to use S3 as the storage backend. Either use the s3 URL or the individual fields below (AWS endpoint, region, secret).
|
|
#s3: s3://access_key:secret_access_key@custom_endpoint/bucket_name
|
|
# AWS endpoint URL
|
|
endpoint: api.minio.skybyte.me
|
|
# AWS region where the S3 bucket is located
|
|
region: us-west-1
|
|
# AWS secret access key
|
|
secretAccessKey: 3QaYyFxyE974NRSFU37U
|
|
# AWS access key ID
|
|
accessKeyId: cORLoTgAzX0X8Tesqqaw7hHEpruerT5svnyDhtG5
|
|
# AWS signature version (e.g., v2 or v4)
|
|
#signatureVersion: <your-signature-version>
|
|
# Forces the path style for S3 (true/false)
|
|
s3ForcePathStyle: true
|
|
# Allows insecure (HTTP) connections (true/false)
|
|
insecure: false
|
|
# HTTP configuration settings
|
|
http_config: {}
|
|
nodeSelector:
|
|
region: us
|
|
|
|
minio:
|
|
enabled: false
|
|
|
|
deploymentMode: SingleBinary
|
|
|
|
singleBinary:
|
|
replicas: 1
|
|
|
|
# Zero out replica counts of other deployment modes
|
|
backend:
|
|
replicas: 0
|
|
read:
|
|
replicas: 0
|
|
write:
|
|
replicas: 0
|
|
|
|
ingester:
|
|
replicas: 0
|
|
querier:
|
|
replicas: 0
|
|
queryFrontend:
|
|
replicas: 0
|
|
queryScheduler:
|
|
replicas: 0
|
|
distributor:
|
|
replicas: 0
|
|
compactor:
|
|
replicas: 0
|
|
indexGateway:
|
|
replicas: 0
|
|
bloomCompactor:
|
|
replicas: 0
|
|
bloomGateway:
|
|
replicas: 0
|