lab7: безопасность, mTLS, OpenBao и PKI lifecycle

This commit is contained in:
Vladislav Kunetskiy
2026-11-10 10:58:07 +03:00
parent 3d216fbd50
commit 3441f2269a
183 changed files with 216667 additions and 3165 deletions
+16 -10
View File
@@ -1,10 +1,8 @@
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
endpoint: 127.0.0.1:14318
processors:
memory_limiter:
@@ -20,7 +18,7 @@ processors:
exporters:
# Pull-based: no sending_queue/retry for this exporter.
prometheus:
endpoint: 0.0.0.0:8889
endpoint: 127.0.0.1:18889
translation_strategy: UnderscoreEscapingWithSuffixes
resource_constant_labels:
included:
@@ -29,7 +27,12 @@ exporters:
- deployment.environment.name
- service.version
otlp_http/loki:
endpoint: http://loki:3100/otlp
endpoint: https://loki:3100/otlp
tls:
ca_file: /run/identity/current/ca.crt
cert_file: /run/identity/current/tls.crt
key_file: /run/identity/current/tls.key
min_version: "1.2"
sending_queue:
enabled: true
sizer: bytes
@@ -42,9 +45,12 @@ exporters:
max_elapsed_time: 30s
timeout: 5s
otlp_grpc/tempo:
endpoint: tempo:4317
endpoint: tempo:4437
tls:
insecure: true
ca_file: /run/identity/current/ca.crt
cert_file: /run/identity/current/tls.crt
key_file: /run/identity/current/tls.key
min_version: "1.2"
sending_queue:
enabled: true
sizer: bytes
@@ -59,7 +65,7 @@ exporters:
extensions:
health_check:
endpoint: 0.0.0.0:13133
endpoint: 127.0.0.1:13133
service:
extensions: [health_check]
@@ -69,8 +75,8 @@ service:
- pull:
exporter:
prometheus:
host: 0.0.0.0
port: 8888
host: 127.0.0.1
port: 18888
pipelines:
traces:
receivers: [otlp]