Skip to content

Commit f04d2a3

Browse files
committed
fix: make the changing titles clean
Signed-off-by: Hoang Ngo <adlehoang118@gmail.com>
1 parent 42f53e1 commit f04d2a3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • docs/content/en/docs-v1.0.x/plugins

docs/content/en/docs-v1.0.x/plugins/ecs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -568,21 +568,21 @@ The v1 plugin includes several fixes to behaviors that could cause service disru
568568

569569
This section describes behavioral differences between the legacy ECS provider in PipeCD v0 and the ECS plugin in PipeCD v1. If you are migrating from v0, review these changes before deploying.
570570

571-
### ECS_PRIMARY_ROLLOUT: only the old PRIMARY task set is removed
571+
### ECS_PRIMARY_ROLLOUT: eliminates 503 errors during canary promotion
572572

573573
**v0 behavior:** `ECS_PRIMARY_ROLLOUT` deleted all ACTIVE task sets (including the CANARY task set) before promoting the new PRIMARY. This created a window where no task set was serving traffic, causing HTTP 503 errors on the load balancer: [issue #4710](https://github.com/pipe-cd/pipecd/issues/4710).
574574

575575
**v1 behavior:** `ECS_PRIMARY_ROLLOUT` records the current PRIMARY task set ARN *before* creating the new one, promotes the new task set to PRIMARY, then deletes only the old PRIMARY. Any CANARY task set created by an earlier `ECS_CANARY_ROLLOUT` stage remains intact and continues to serve its share of traffic throughout the rollout window. The CANARY is cleaned up separately by `ECS_CANARY_CLEAN`.
576576

577577
This change eliminates the 503 window that existed in v0 during canary deployments.
578578

579-
### Rollback: ELB weights are restored before task sets are modified
579+
### Rollback: eliminates 503 errors when reverting
580580

581581
**v0 behavior:** During rollback, task sets were recreated first. This left a window where the ALB listener was still sending a fraction of traffic to the canary target group even though its tasks were being deleted, resulting in 503 errors for requests hitting that target group.
582582

583583
**v1 behavior:** The `ECS_ROLLBACK` stage restores ALB listener weights to `100% primary / 0% canary` *before* touching any task set. Listener ARNs and the canary target group ARN are persisted in deployment metadata by `ECS_TRAFFIC_ROUTING`, so rollback can look them up without an additional AWS API call. Only after the listener is safe does rollback create the new task set, promote it to PRIMARY, and delete the remaining task sets.
584584

585-
### Drift detection: commit hash tag instead of config field comparison
585+
### Drift detection: no false alerts from AWS-managed changes
586586

587587
**v0 behavior:** Drift detection compared the fields of the live ECS resources against what was declared in the Git definition files. This produced false OUT_OF_SYNC signals whenever AWS mutated a field outside of PipeCD's control, for example when Auto Scaling adjusted `desiredCount`, or when AWS updated internal service metadata.
588588

0 commit comments

Comments
 (0)