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
Right now
Polykey-Infrastructuredoes 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
NodeIDduring configuration.See: https://gitlab.com/MatrixAI/Engineering/Polykey/Polykey-Infrastructure/-/merge_requests/2#note_1146016192 for more information.
Tasks
nodeIdderivation from the recovery codes stored in the secret managerNodeId.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 fortestnet.polykey.comPolykey-CLI#71.