Skip to content

Infrastructure setup for testnet should automate multiple instances for multiple nodes #488

@CMCDragonkai

Description

@CMCDragonkai

Right now Polykey-Infrastructure does not check if an existing instance is already running. It should be doing this before attempting to run more instances.

It also should have the ability to setup multiple instances depending on a fixed cluster configuration. To do this, it depends on #285 first so it can derive the NodeID during configuration.

See: https://gitlab.com/MatrixAI/Engineering/Polykey/Polykey-Infrastructure/-/merge_requests/2#note_1146016192 for more information.

Tasks

  • 1. Change script's nodeId derivation from the recovery codes stored in the secret manager
  • 2. Use a loop to create a separate instance for each NodeId.
  • 3. Observe that the IPs are properly setup on the testnet.polykey.io
  • [ ] 4. Ensure that the fixed pool of recovery codes are put into the PK source code - this will be a task on Integration Tests for testnet.polykey.com Polykey-CLI#71.

Metadata

Metadata

Assignees

Labels

procedureAction that must be executedr&d:polykey:core activity 4End to End Networking behind Consumer NAT Devices

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions