forked from Consensys/qubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqubernetes.yaml
99 lines (92 loc) · 2.76 KB
/
qubernetes.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# see: ./quick-start-gen --help, if you wish to generate this file.
# ./quick-start-gen --chain-id=1000 --tm-name=tessera --num-nodes=4 --consensus=istanbul --quorum-version=2.6.0 --tm-version=0.10.4
# This is the core configuration file, at a minimum include:
# 1. the number of nodes entries
# 2. quorum's consensus (istanbul IBFT, or Raft)
# 3. the version of the quorum container and the transaction manager container.
# Reasonable defaults will be chosen for the rest of the values, ports, associated K8s resources, etc.
k8s:
# persistent storage is handled by Persistent Volume Claims (PVC) https://kubernetes.io/docs/concepts/storage/persistent-volumes/
# test locally and on GCP
# The data dir is persisted here
storage:
# PVC (Persistent_Volume_Claim - tested with GCP).
Type: PVC
## when redeploying cannot be less than previous values
Capacity: 200Mi
# In general, all the nodes should have the same consensus and tm as the genesis and as each other.
genesis:
# supported: (raft | istanbul)
consensus: istanbul
Quorum_Version: 2.6.0
Tm_Version: 0.10.4
Chain_Id: 1000
nodes:
- Node_UserIdent: quorum-node1
Key_Dir: key1
quorum:
quorum:
# supported: (raft | istanbul)
consensus: istanbul
Quorum_Version: 2.6.0
tm:
# (tessera|constellation)
Name: tessera
Tm_Version: 0.10.4
- Node_UserIdent: quorum-node2
Key_Dir: key2
quorum:
quorum:
# supported: (raft | istanbul)
consensus: istanbul
Quorum_Version: 2.6.0
tm:
# (tessera|constellation)
Name: tessera
Tm_Version: 0.10.4
- Node_UserIdent: quorum-node3
Key_Dir: key3
quorum:
quorum:
# supported: (raft | istanbul)
consensus: istanbul
Quorum_Version: 2.6.0
tm:
# (tessera|constellation)
Name: tessera
Tm_Version: 0.10.4
- Node_UserIdent: quorum-node4
Key_Dir: key4
quorum:
quorum:
# supported: (raft | istanbul)
consensus: istanbul
Quorum_Version: 2.6.0
tm:
# (tessera|constellation)
Name: tessera
Tm_Version: 0.10.4
# #add more nodes if you'd like
# - Node_UserIdent: quorum-node5
# Key_Dir: key5
# quorum:
# quorum:
# # supported: (raft | istanbul)
# consensus: istanbul
# Quorum_Version: 2.6.0
# tm:
# # (tessera|constellation)
# Name: tessera
# Tm_Version: 0.10.4
# #add more nodes if you'd like
# - Node_UserIdent: quorum-node6
# Key_Dir: key6
# quorum:
# quorum:
# # supported: (raft | istanbul)
# consensus: istanbul
# Quorum_Version: 2.6.0
# tm:
# # (tessera|constellation)
# Name: tessera
# Tm_Version: 0.10.4