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
Unknown Object (File)
Wed, Apr 16, 2:44 PM
Unknown Object (File)
Wed, Apr 16, 1:02 PM
Unknown Object (File)
Tue, Apr 15, 9:39 PM
Unknown Object (File)
Tue, Apr 15, 1:18 AM
Unknown Object (File)
Wed, Apr 2, 1:37 PM
Unknown Object (File)
Mar 5 2025, 7:30 PM
Unknown Object (File)
Mar 2 2025, 2:18 PM
Unknown Object (File)
Mar 1 2025, 8:03 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