Fix Cloud Run: remove reserved PORT env, increase startup probe tolerance
This commit is contained in:
@@ -100,10 +100,10 @@ resource "google_cloud_run_v2_service" "prod_us" {
|
||||
path = "/api/health"
|
||||
port = 3000
|
||||
}
|
||||
initial_delay_seconds = 5
|
||||
initial_delay_seconds = 10
|
||||
timeout_seconds = 5
|
||||
period_seconds = 10
|
||||
failure_threshold = 3
|
||||
failure_threshold = 10
|
||||
}
|
||||
|
||||
liveness_probe {
|
||||
@@ -214,10 +214,10 @@ resource "google_cloud_run_v2_service" "prod_eu" {
|
||||
path = "/api/health"
|
||||
port = 3000
|
||||
}
|
||||
initial_delay_seconds = 5
|
||||
initial_delay_seconds = 10
|
||||
timeout_seconds = 5
|
||||
period_seconds = 10
|
||||
failure_threshold = 3
|
||||
failure_threshold = 10
|
||||
}
|
||||
|
||||
liveness_probe {
|
||||
@@ -328,10 +328,10 @@ resource "google_cloud_run_v2_service" "prod_apac" {
|
||||
path = "/api/health"
|
||||
port = 3000
|
||||
}
|
||||
initial_delay_seconds = 5
|
||||
initial_delay_seconds = 10
|
||||
timeout_seconds = 5
|
||||
period_seconds = 10
|
||||
failure_threshold = 3
|
||||
failure_threshold = 10
|
||||
}
|
||||
|
||||
liveness_probe {
|
||||
@@ -448,7 +448,7 @@ resource "google_cloud_run_v2_service" "stage" {
|
||||
path = "/api/health"
|
||||
port = 3000
|
||||
}
|
||||
initial_delay_seconds = 5
|
||||
initial_delay_seconds = 10
|
||||
timeout_seconds = 5
|
||||
period_seconds = 10
|
||||
failure_threshold = 5
|
||||
|
||||
Reference in New Issue
Block a user