feat(deploy): update instance size to professional-xs and add memory utilization alert parameters

This commit is contained in:
UncleCode
2024-11-16 17:23:32 +08:00
parent 6b569cceb5
commit 67edc2d641

View File

@@ -8,7 +8,7 @@ spec:
dockerfile_path: Dockerfile dockerfile_path: Dockerfile
http_port: 11235 http_port: 11235
instance_count: 1 instance_count: 1
instance_size_slug: basic-xs # 4GB RAM, 2 vCPUs instance_size_slug: professional-xs
health_check: health_check:
http_path: /health http_path: /health
envs: envs:
@@ -22,4 +22,9 @@ spec:
- path: / - path: /
alerts: alerts:
- rule: MEM_UTILIZATION - rule: MEM_UTILIZATION
value: 90 # Alert at 90% memory usage value: 90
window: 5m # Added window parameter
operator: GREATER_THAN
disabled: false
- rule: DEPLOYMENT_FAILED
- rule: DOMAIN_FAILED