You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/en/docs-v1.0.x/plugins/ecs.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -167,6 +167,32 @@ Without this, the plugin cannot create or manage task sets for your service.
167
167
> **Note:** Support for the ECS deployment controller (`type: ECS`) is planned for a future version.
168
168
169
169
170
+
## Choosing a deployment strategy
171
+
172
+
When a `pipeline` is configured, the ECS plugin compares the container images in the target task definition against those in the currently running deployment to decide whether to execute the pipeline or skip it with a quick sync:
173
+
174
+
| Condition | Strategy |
175
+
|---|---|
176
+
| No running deployment source available | Pipeline sync |
| One or more container images added, removed, or changed | Pipeline sync |
179
+
| No container image changes | Quick sync |
180
+
181
+
The comparison checks each container by name. If the image name differs, the full change is reported; if only the tag or digest differs, the version change is reported. All detected changes appear in the deployment summary in the UI.
182
+
183
+
> Non-image changes (environment variables, CPU/memory, etc.) do not affect strategy selection. If you update only those fields, the plugin will choose quick sync even when a pipeline is configured.
184
+
185
+
**Use quick sync when:**
186
+
- You want a simple, immediate rollout with no traffic splitting.
187
+
- The environment is non-critical (e.g. dev, staging) where gradual rollout adds no value.
188
+
189
+
> Standalone tasks always use quick sync. Pipeline sync is not supported for standalone tasks.
190
+
191
+
**Use pipeline sync when:**
192
+
- You want to gradually shift traffic using canary or blue-green strategies.
193
+
- You need manual approval gates before full rollout.
194
+
- You want automated analysis (metrics, logs) to validate the new version before promoting it.
195
+
170
196
## Quick sync
171
197
172
198
By default, when no `pipeline` is specified in the application configuration, PipeCD triggers a **quick sync** for any merged pull request. Quick sync registers the new task definition, creates/updates the ECS service, promotes a new primary task set, waits for stability, and removes old task sets. All traffic is switched to the new version immediately.
0 commit comments