This commit is contained in:
2026-11-08 00:33:25 +03:00
parent 20afc2c790
commit 3d5c6a6689
148 changed files with 21441 additions and 79 deletions
+12
View File
@@ -0,0 +1,12 @@
# Prometheus 3.7.3 (с lab7): HTTP-сервер только по TLS и только с клиентским сертификатом нашего CA.
# Доверенного CA мало: client_allowed_sans пропускает лишь три identity —
# otel-collector (запись OTLP-метрик), grafana (запросы dashboard), prometheus (свой healthcheck).
# Сертификат api, worker или lb от того же CA получит отказ. Наружу Prometheus не опубликован:
# оператор смотрит метрики и alerts через Grafana (HTTPS + пароль).
tls_server_config:
cert_file: /run/tls/tls.crt
key_file: /run/tls/tls.key
client_auth_type: RequireAndVerifyClientCert
client_ca_file: /run/ca/ca.crt
client_allowed_sans: [otel-collector, grafana, prometheus]
min_version: TLS12