93 lines
2.0 KiB
YAML
Raw Normal View History

2024-11-17 21:56:07 +01:00
ext-secret:
enabled: true
name: loki-basic-auth
data:
users: |
loki:$apr1$YmrcEKi7$9SdBV36OV1ZT0NdppklWf/
middleware:
enabled: true
middlewares:
- name: lokiauth
spec:
basicAuth:
secret: loki-basic-auth
2024-07-13 22:21:59 +02:00
global:
dnsService: "coredns"
2024-10-10 06:48:48 +02:00
deploymentMode: SingleBinary
2024-07-13 22:21:59 +02:00
loki:
commonConfig:
replication_factor: 1
storage:
type: 'filesystem'
schemaConfig:
configs:
2024-10-10 06:48:48 +02:00
- from: "2024-01-01"
2024-07-13 22:21:59 +02:00
store: tsdb
index:
prefix: loki_index_
period: 24h
2024-10-10 06:48:48 +02:00
object_store: filesystem # we're storing on filesystem so there's no real persistence here.
schema: v13
memcached:
chunk_cache:
enabled: false
host: chunk-cache-memcached.loki.svc
service: memcached-client
batch_size: 256
parallelism: 10
results_cache:
enabled: false
host: results-cache-memcached.loki.svc
service: memcached-client
default_validity: 12h
2024-07-13 22:21:59 +02:00
singleBinary:
replicas: 1
read:
replicas: 0
2024-10-10 06:48:48 +02:00
backend:
replicas: 0
2024-07-13 22:21:59 +02:00
write:
replicas: 0
2024-10-10 06:48:48 +02:00
chunksCache:
enabled: false
2024-07-13 22:21:59 +02:00
ingester:
replicas: 0
querier:
replicas: 0
queryFrontend:
replicas: 0
queryScheduler:
replicas: 0
distributor:
replicas: 0
compactor:
replicas: 0
2025-02-17 22:47:33 +01:00
gateway:
replicas: 1
affinity:
podAntiAffinity: ~
2024-07-13 22:21:59 +02:00
indexGateway:
replicas: 0
bloomCompactor:
replicas: 0
bloomGateway:
replicas: 0
2024-11-17 21:56:07 +01:00
ingress:
enabled: true
ingressClassName: traefik
annotations:
kubernetes.io/tls-acme: "true"
kubernetes.io/ingress.allow-http: "false"
kubernetes.io/ingress.global-static-ip-name: ""
cert-manager.io/cluster-issuer: badhouseplants-issuer-http01
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
external-dns.alpha.kubernetes.io/ingress-hostname-source: defined-hosts-only
traefik.ingress.kubernetes.io/router.middlewares: observability-lokiauth@kubernetescrd
hosts:
- loki.badhouseplants.net
tls:
- secretName: loki.badhouseplants.net
hosts:
- loki.badhouseplants.net