Complete Lab 7 security and PKI track

This commit is contained in:
2026-12-05 23:43:41 +03:00
parent 20afc2c790
commit d8ecd2aad9
93 changed files with 6714 additions and 133 deletions
+46
View File
@@ -0,0 +1,46 @@
auth_enabled: false
server:
http_listen_port: 3100
grpc_listen_port: 9096
tls_min_version: VersionTLS12
http_tls_config:
cert_file: /run/secrets/loki-server.crt
key_file: /run/secrets/loki-server.key
client_auth_type: RequireAndVerifyClientCert
client_ca_file: /run/secrets/internal-ca.crt
grpc_tls_config:
cert_file: /run/secrets/loki-server.crt
key_file: /run/secrets/loki-server.key
client_auth_type: RequireAndVerifyClientCert
client_ca_file: /run/secrets/internal-ca.crt
common:
path_prefix: /loki
replication_factor: 1
ring:
kvstore:
store: inmemory
storage:
filesystem:
chunks_directory: /loki/chunks
rules_directory: /loki/rules
schema_config:
configs:
- from: "2024-01-01"
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
limits_config:
allow_structured_metadata: true
retention_period: 72h
otlp_config:
resource_attributes:
attributes_config:
- action: index_label
attributes: [service.name, deployment.environment.name]
compactor:
working_directory: /loki/compactor
retention_enabled: true
delete_request_store: filesystem