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)
Tue, Nov 26, 9:40 AM
Unknown Object (File)
Tue, Nov 26, 7:29 AM
Unknown Object (File)
Tue, Nov 26, 7:25 AM
Unknown Object (File)
Tue, Nov 26, 5:40 AM
Unknown Object (File)
Sat, Nov 23, 9:47 PM
Unknown Object (File)
Sat, Nov 23, 6:45 AM
Unknown Object (File)
Fri, Nov 15, 2:09 AM
Unknown Object (File)
Tue, Nov 12, 8:48 AM
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
No Lint Coverage
Unit
No Test Coverage

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

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