This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Simplify adding raft and istanbul nodes (adding_nodes.md):
To add new nodes to a running Quorum K8s network create by qubernetes:
Use:
qubernetes.yaml
to test an istanbul network andqubernetes-raft.yaml
to test a raft network../qube-init --action=create qubernetes.yaml
or using the containerdocker run --rm -it -v $(pwd):/qubernetes -ti quorumengineering/qubernetes ./qube-init --action=create qubernetes.yaml
add the node(s) to thequbernetes.yaml
file:Run
./qube-init --action=update qubernetes.yaml
or using the containerdocker run --rm -it -v $(pwd):/qubernetes -ti quorumengineering/qubernetes ./qube-init --action=update qubernetes-raft.yaml
to generate the new resources.One the Quorum and K8s resources have been generated for the new node(s), run the
helpers/add_nodes_to_k8s.sh $CONSENSUS
script passing in the consensus (raft | istanbul) of your network.helpers/add_nodes_to_k8s.sh raft
helpers/add_nodes_to_k8s.sh istanbul
Verify that the new nodes see blocks and accept transactions:
./helpers/run_contracts.sh node4
Verify that blocks are seen by all, and that peers are connected: