flux-infra/infra/loki/loki/values.yaml
Dreaded_X dbbcabd941
Some checks failed
kustomization/node-feature-discovery/3a682516 reconciliation succeeded
kustomization/cert-manager/3a682516 reconciliation succeeded
kustomization/rook-ceph/3a682516 reconciliation succeeded
kustomization/topolvm/3a682516 reconciliation succeeded
kustomization/kyverno/3a682516 reconciliation succeeded
kustomization/akri/3a682516 reconciliation succeeded
kustomization/rook-ceph-cluster/3a682516 reconciliation succeeded
kustomization/node-feature-discovery-rules/3a682516 reconciliation succeeded
kustomization/velero/3a682516 reconciliation succeeded
kustomization/flux-system/3a682516 reconciliation succeeded
kustomization/letsencrypt/3a682516 reconciliation succeeded
kustomization/cnpg/3a682516 reconciliation succeeded
kustomization/kyverno-policies/3a682516 reconciliation succeeded
kustomization/kube-vip/3a682516 reconciliation succeeded
kustomization/traefik/3a682516 reconciliation succeeded
kustomization/traefik-middleware/3a682516 reconciliation succeeded
kustomization/lldap/3a682516 reconciliation succeeded
kustomization/authelia/3a682516 reconciliation succeeded
kustomization/apps/3a682516 reconciliation succeeded
kustomization/loki/3a682516 health check failed
Added loki
2025-04-24 16:49:01 +02:00

101 lines
2.7 KiB
YAML

global:
extraArgs:
- -config.expand-env=true
extraEnvFrom:
- secretRef:
name: chunks
prefix: CHUNKS_
- configMapRef:
name: chunks
prefix: CHUNKS_
- secretRef:
name: ruler
prefix: RULER_
- configMapRef:
name: ruler
prefix: RULER_
loki:
schemaConfig:
configs:
- from: "2024-04-01"
store: tsdb
object_store: s3
schema: v13
index:
prefix: loki_index_
period: 24h
pattern_ingester:
enabled: true
limits_config:
allow_structured_metadata: true
volume_enabled: true
retention_period: 672h # 28 days retention
querier:
max_concurrent: 4
storage:
type: s3
bucketNames:
chunks: "${CHUNKS_BUCKET_NAME}"
ruler: "${RULER_BUCKET_NAME}"
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 if you 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: "${CHUNKS_BUCKET_HOST}"
# AWS region where the S3 bucket is located
region: "${CHUNKS_BUCKET_REGION}"
# AWS secret access key
secretAccessKey: "${CHUNKS_SECRET_ACCESS_KEY}"
# AWS access key ID
accessKeyId: "${CHUNKS_ACCESS_KEY_ID}"
# 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: true
# HTTP configuration settings
# http_config: {}
# NOTE: Normally these values are set from loki.storage, however we do not use the same credentials so we have to overwrite the values
rulerConfig:
storage:
type: s3
s3:
bucketnames: ${RULER_BUCKET_NAME}
endpoint: ${RULER_BUCKET_HOST}
region: ${RULER_BUCKET_REGION}
secret_access_key: ${RULER_SECRET_ACCESS_KEY}
access_key_id: ${RULER_ACCESS_KEY_ID}
s3forcepathstyle: true
insecure: true
deploymentMode: SimpleScalable
backend:
replicas: 3
# NOTE: There appears to be an error in the helm chart, it uses extraEnv instead of extraEnvFrom from global
extraEnvFrom:
- secretRef:
name: chunks
prefix: CHUNKS_
- configMapRef:
name: chunks
prefix: CHUNKS_
- secretRef:
name: ruler
prefix: RULER_
- configMapRef:
name: ruler
prefix: RULER_
read:
replicas: 3
write:
replicas: 3
# Disable minio storage
minio:
enabled: false