upload
This commit is contained in:
16
agent/rules.safe.yaml
Normal file
16
agent/rules.safe.yaml
Normal 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
|
||||
Reference in New Issue
Block a user