From 5d0b13294cfec45c55b07a5593726335c79b6cde Mon Sep 17 00:00:00 2001 From: UncleCode Date: Sat, 16 Nov 2024 17:25:07 +0800 Subject: [PATCH] feat(deploy): change instance size to professional-xs and update memory utilization alert window to 300 seconds --- .do/app.yaml | 2 +- .do/deploy.template.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.do/app.yaml b/.do/app.yaml index bff8ff97..00d7b781 100644 --- a/.do/app.yaml +++ b/.do/app.yaml @@ -13,7 +13,7 @@ services: http_path: /health http_port: 11235 instance_count: 1 - instance_size_slug: basic-xs + instance_size_slug: professional-xs name: web routes: - path: / \ No newline at end of file diff --git a/.do/deploy.template.yaml b/.do/deploy.template.yaml index 49d0012b..dcd9b2d7 100644 --- a/.do/deploy.template.yaml +++ b/.do/deploy.template.yaml @@ -23,7 +23,7 @@ spec: alerts: - rule: MEM_UTILIZATION value: 90 - window: 5m # Added window parameter + window: 300 # Changed from "5m" to 300 (5 minutes in seconds) operator: GREATER_THAN disabled: false - rule: DEPLOYMENT_FAILED