This commit is contained in:
2025-09-19 18:31:57 +00:00
parent ecc0b6642f
commit 48bde05d50
4 changed files with 393 additions and 6 deletions

16
agent/rules.safe.yaml Normal file
View File

@@ -0,0 +1,16 @@
alerts: []
commands:
- intent: "scale"
schema:
service: str
replicas: int
action:
scale:
service: "{{service}}"
replicas: "{{replicas}}"
guardrails:
# allow your prefixes and common pools; note the quotes around the regex
allowed_services_regex: "^([a-z0-9-]+_)?(wordpress|php|nginx|redis|mysql|weblabs|burnengine-io).*$
max_scale_replicas: 25