Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Add nodes to cakeshop when deployed. #78

Closed
libby opened this issue Oct 5, 2020 · 1 comment
Closed

Add nodes to cakeshop when deployed. #78

libby opened this issue Oct 5, 2020 · 1 comment
Assignees

Comments

@libby
Copy link
Contributor

libby commented Oct 5, 2020

When cakeshop is included in an K8s/Quorum qubernetes network, the nodes in the network should be automatically added to cakeshop at startup. Currently, the nodes have to be manually added when the network starts up.

Additionally when new nodes are added to the network, they could be added to cakeshop. This could be done by either:

  1. Modifying the initial node config and redeploying cakeshop so that it picks up the changes (K8s will automatically do this is the deployment file changes and kubectl apply out as it is when new nodes are added).

  2. Have cakeshop read off a file, nodeconfig and keep this in sync (pull ever X seconds), which would be the source of truth for the nodes that cakeshop should display (similar to permissioned-nodes.json in geth).

  3. Update via the API.

see:
https://github.com/ConsenSys/qubernetes/blob/master/examples/config/cakeshop.yaml
https://github.com/ConsenSys/qubernetes/blob/master/templates/k8s/cakeshop.yaml.erb

@libby
Copy link
Contributor Author

libby commented Oct 14, 2020

Addressed in PR: #89

@libby libby closed this as completed Oct 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants