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

This commit is contained in:
UncleCode
2024-11-16 17:12:41 +08:00
parent fca1319b7d
commit 6f2fe5954f

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 instance_size_slug: professional-xs # 4GB RAM, 2 vCPUs
health_check: health_check:
http_path: /health http_path: /health
envs: envs:
@@ -19,4 +19,7 @@ spec:
- key: ENABLE_GPU - key: ENABLE_GPU
value: "false" value: "false"
routes: routes:
- path: / - path: /
alerts:
- rule: MEM_UTILIZATION
value: 90 # Alert at 90% memory usage