Skip to content

Commit

Permalink
feat(ecs): Add support for ECS deployment circuit breaker (#10076)
Browse files Browse the repository at this point in the history
* feat(ecs): Add support for ECS deployment circuit breaker

* chore(ecs): rearrange checkbox for deployment circuit breaker to better align with other form elements
  • Loading branch information
jgrumboe authored Jan 17, 2024
1 parent 539020a commit 32dfea8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/ecs/src/ecs.help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const helpContents: { [key: string]: string } = {
'ecs.placementStrategy':
'<p>The strategy the container scheduler will be using. See <a href="http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html" target="_blank">AWS documentation</a> for more details. </p><p>You should at least balance across availability zones</p><p>Custom placement strategies have not been implemented yet.</p>',
'ecs.platformVersion': '<p>Defaults to the latest platform version.</p>',
'ecs.enableDeploymentCircuitBreaker': '<p>Enable circuit breaker for the ECS service.</p>',
'ecs.capacity.copySourceScalingPoliciesAndActions':
'<p>Copy Application Autoscaling policies and their associated alarms from the previous ECS service.</p>',
'ecs.launchtype': '<p>Launch service tasks on your own EC2 instances or on Fargate.</p>',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ angular
copySourceScalingPoliciesAndActions: true,
preferSourceCapacity: true,
useSourceCapacity: true,
enableDeploymentCircuitBreaker: false,
viewState: {
useAllImageSelection: false,
useSimpleCapacity: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@
</div>
</div>

<div class="form-group">
<div class="col-md-5 sm-label-right">
Enable Deployment Circuit Breaker
<help-field key="ecs.enableDeploymentCircuitBreaker"></help-field>
</div>
<div class="col-md-3">
<input type="checkbox" ng-model="$ctrl.command.enableDeploymentCircuitBreaker" />
</div>
</div>

<div class="form-group">
<div class="col-md-5 sm-label-right">
<b>Placement Strategy</b> <help-field key="ecs.placementStrategy"></help-field>
Expand Down

0 comments on commit 32dfea8

Please sign in to comment.