Page MenuHomePhabricator

[terraform] Introduce secondary keyserver service
ClosedPublic

Authored by will on Jul 9 2024, 7:32 PM.
Tags
None
Referenced Files
F3578311: D12711.diff
Sun, Dec 29, 12:09 AM
F3571711: D12711.id42191.diff
Sat, Dec 28, 9:45 AM
Unknown Object (File)
Tue, Dec 24, 2:21 AM
Unknown Object (File)
Tue, Dec 24, 2:21 AM
Unknown Object (File)
Tue, Dec 24, 2:21 AM
Unknown Object (File)
Tue, Dec 24, 2:21 AM
Unknown Object (File)
Tue, Dec 24, 2:21 AM
Unknown Object (File)
Tue, Dec 24, 2:21 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
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