Page MenuHomePhabricator

[terraform] Ensure only one running ecs task for primary service
ClosedPublic

Authored by will on Jul 9 2024, 7:25 PM.
Tags
None
Referenced Files
F3526840: D12709.id42445.diff
Tue, Dec 24, 1:47 AM
F3526839: D12709.id42189.diff
Tue, Dec 24, 1:47 AM
F3526832: D12709.id.diff
Tue, Dec 24, 1:47 AM
F3526826: D12709.diff
Tue, Dec 24, 1:46 AM
Unknown Object (File)
Fri, Dec 6, 9:58 AM
Unknown Object (File)
Nov 23 2024, 9:46 PM
Unknown Object (File)
Nov 23 2024, 3:12 AM
Unknown Object (File)
Nov 22 2024, 7:45 PM
Subscribers

Details

Summary

By setting the deployment maximum percent and minimum to 100 and 0, we ensure that there is only one primary node at a given time

The defaults were originally 200 and 0 percent which is meant for rolling updates; however, in our case we likely don't want two primary nodes running at the same time

Depends on D12708

Test Plan

On a terraform redeploy, all tasks were stopped and a single pending task was initialized

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage