Page MenuHomePhabricator

[terraform] Introduce secondary keyserver service
ClosedPublic

Authored by will on Jul 9 2024, 7:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 28, 5:27 AM
Unknown Object (File)
Wed, Aug 28, 5:21 AM
Unknown Object (File)
Tue, Aug 27, 11:10 AM
Unknown Object (File)
Mon, Aug 26, 1:29 PM
Unknown Object (File)
Mon, Aug 26, 1:29 PM
Unknown Object (File)
Mon, Aug 26, 1:28 PM
Unknown Object (File)
Mon, Aug 26, 1:28 PM
Unknown Object (File)
Mon, Aug 26, 1:28 PM
Subscribers

Details

Summary

This introduces the secondary keyserver service. The task is mostly identical to the primary except COMM_NODE_ROLE being set to
secondary.

Depends on D12710

Test Plan

I added a temporary keyserver route that printed true/false for whether it was primary. Load balancer properly distributed traffic
to both primary and secondary requests and was able to curl https://wyilio.com/role to get both true and false responses

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

services/terraform/self-host/keyserver_primary.tf
3 ↗(On Diff #42191)

Like the primary service. Will not land until I've built and changed this to an official commapp image

will requested review of this revision.Jul 9 2024, 7:47 PM

create secondary resources after primary

bartek requested changes to this revision.Jul 17 2024, 12:49 AM
bartek added inline comments.
keyserver_secondary.tf
1 ↗(On Diff #42363)

Wait, isn't the keyserver_secondary.tf accidentally copied to repo root?

This revision now requires changes to proceed.Jul 17 2024, 12:49 AM

remove copy of keyserver_secondary.tf from root

This revision is now accepted and ready to land.Jul 17 2024, 8:48 AM