Проверить уровень 3, устойчивость и отрицательные сценарии, оформить отчёт

This commit is contained in:
2026-12-04 07:15:24 +03:00
parent d4f64bed85
commit 06459d3eed
54 changed files with 1934 additions and 126 deletions
+16
View File
@@ -20,6 +20,22 @@
"arn:aws:s3:::attachments/originals/*",
"arn:aws:s3:::attachments/variants/*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::attachments"
],
"Condition": {
"StringLike": {
"s3:prefix": [
"staging/*"
]
}
}
}
]
}
+2
View File
@@ -7,3 +7,5 @@ GRANT SELECT,UPDATE ON attachments,attachment_jobs TO worker;
GRANT SELECT,INSERT,UPDATE ON attachment_variants,attachment_replays TO worker;
GRANT SELECT,UPDATE ON attachments,attachment_jobs TO dispatcher;
GRANT SELECT ON attachment_jobs TO cleaner;
GRANT UPDATE(id) ON attachments TO api;
+2 -2
View File
@@ -1,10 +1,10 @@
ui = false
disable_mlock = true
storage "file" {
path = "/bao/data"
path = "/openbao/file"
}
listener "tcp" {
address = "0.0.0.0:8200"
cluster_address = "127.0.0.1:8201"
tls_cert_file = "/tls/cert.crt"
tls_key_file = "/tls/key.key"
tls_min_version = "tls12"
+4
View File
@@ -26,6 +26,8 @@ exporters:
timeout: 5s
retry_on_failure:
max_elapsed_time: 15s
initial_interval: 1s
max_interval: 5s
sending_queue:
queue_size: 128
num_consumers: 2
@@ -35,6 +37,8 @@ exporters:
timeout: 5s
retry_on_failure:
max_elapsed_time: 15s
initial_interval: 1s
max_interval: 5s
sending_queue:
queue_size: 128
num_consumers: 2
+8 -7
View File
@@ -13,15 +13,16 @@ common:
filesystem:
chunks_directory: /loki/chunks
rules_directory: /loki/rules
instance_addr: 127.0.0.1
schema_config:
configs:
- from: 2024-01-01
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
- from: 2024-01-01
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
limits_config:
allow_structured_metadata: true
retention_period: 24h
+6
View File
@@ -10,6 +10,12 @@ distributor:
endpoint: 127.0.0.1:4318
ingester:
max_block_duration: 1m
lifecycler:
address: 127.0.0.1
ring:
kvstore:
store: inmemory
replication_factor: 1
compactor:
compaction:
block_retention: 24h
+1
View File
@@ -9,3 +9,4 @@ definitions.import_backend = local_filesystem
definitions.local.path = /run/private/broker.json
default_user = disabled-bootstrap
default_pass = disabled-bootstrap-not-a-service
prometheus.tcp.ip = 127.0.0.1