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

Latest commit

 

History

History
37 lines (30 loc) · 1.96 KB

7nodes-on-k8s.md

File metadata and controls

37 lines (30 loc) · 1.96 KB

7 Nodes Examples

quorum-examples 7nodes has been ported to k8s resources. There are k8s resource files in the qubernetes repo's 7nodes directory for deploying quorum on kubernetes with tessera or constellation as the transaction manager, and raft or istanbul as the consensus engines.

This assume you have a running k8s cluster which you can connect to via kubectl.

For presistent storage PVC(Persistent Volume Claims) are used/recommended, PVC will be automatically created when the deployment is created and deleted when the deployment is deleted (kubectl delete -f YOUR_DEPLOYMENT_YAML/).

note HostPath persistent storage is no longer supported after commit 4f8229cf2dce6c7f28020c84a2b5344050867fc1 Wed Mar 11 17:03:21 2020 -0400

Examples below are for deploying 7nodes using PVC (Persistent Volume Claims):

$> kubectl apply -f 7nodes/istanbul-7nodes-tessera/k8s-yaml-pvc
$> kubectl delete -f 7nodes/istanbul-7nodes-tessera/k8s-yaml-pvc
$> kubectl apply -f 7nodes/istanbul-7nodes-constellation/k8s-yaml-pvc
$> kubectl delete -f 7nodes/istanbul-7nodes-constellation/k8s-yaml-pvc
$> kubectl apply -f 7nodes/raft-7nodes-tessera/k8s-yaml-pvc
$> kubectl delete -f 7nodes/raft-7nodes-tessera/k8s-yaml-pvc
$> kubectl apply -f 7nodes/raft-7nodes-constellation/k8s-yaml-pvc
$> kubectl delete -f 7nodes/raft-7nodes-constellation/k8s-yaml-pvc