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)
Mon, Oct 28, 12:50 PM
Unknown Object (File)
Sat, Oct 26, 7:33 AM
Unknown Object (File)
Thu, Oct 24, 12:40 AM
Unknown Object (File)
Fri, Oct 11, 7:22 PM
Unknown Object (File)
Fri, Oct 11, 7:22 PM
Unknown Object (File)
Fri, Oct 11, 7:05 PM
Unknown Object (File)
Fri, Oct 11, 7:02 PM
Unknown Object (File)
Sep 22 2024, 10:27 AM
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
Lint Not Applicable
Unit
Tests Not Applicable