Skip to content

Commit 4ce2605

Browse files
fix deploy issue
1 parent 9793508 commit 4ce2605

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

k8s/api.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ spec:
7777
# This ensures the load balancer has fully picked up the new pod before traffic
7878
# shifts — the key ingredient of zero-downtime blue-green deploys.
7979
minReadySeconds: 10
80+
# api-ingest is hard-colocated with the current Postgres primary. During
81+
# deploys the replacement pod can wait for that single node's allocatable CPU
82+
# while the old pod finishes termination and CronJobs settle, so keep the
83+
# progress deadline longer than the default 10m rollout window.
84+
progressDeadlineSeconds: 1800
8085
strategy:
8186
type: RollingUpdate
8287
rollingUpdate:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rejourney-monorepo",
3-
"version": "3.1.188",
3+
"version": "3.1.189",
44
"private": true,
55
"description": "Rejourney Monorepo - Session Recording Platform",
66
"workspaces": [

scripts/k8s/deploy-release.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -983,9 +983,10 @@ main() {
983983
remove_legacy_postgres
984984

985985
section "Waiting For Rollouts"
986-
# Critical user-facing services: 600s to absorb any residual image-pull delay
987-
# after the pre-pull step (e.g. a node was temporarily unavailable during pre-pull).
988-
wait_for_deployment api-ingest 600s
986+
# Critical user-facing services: allow residual image-pull or scheduling delay
987+
# after the pre-pull step. api-ingest gets a longer window because it is
988+
# hard-colocated with the current Postgres primary.
989+
wait_for_deployment api-ingest 1800s
989990
pin_deployment_to_postgres_primary api-ingest
990991
wait_for_deployment api-dashboard 600s
991992
wait_for_deployment ingest-upload 600s

0 commit comments

Comments
 (0)