-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaptos_node_helm_values.yaml
129 lines (122 loc) · 3.48 KB
/
aptos_node_helm_values.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
imageTag: devnet_performance # change this to the docker image tag you want
chain:
chain_id: TESTING
chain_name: aptos-multi-region-bench
era: 7 # bump this to wipe the chain
# haproxy disabled, and hit the validators and VFN LBs directly
# If you want to enable haproxy, you may want to change the validator and fullnode
# service types to ClusterIP to save on costs and redundant infra.
haproxy:
enabled: false
# to run experiments as root
podSecurityPolicy: false
enablePrivilegedMode: true
# haproxy disabled, so validator and VFN get their own LoadBalancer directly
service:
validator:
internal:
type: LoadBalancer
fullnode:
internal:
type: LoadBalancer
# the validator configuration
validator:
enableNetworkPolicy: false # haproxy disabled, we need to disable the default NetworkPolicy to enable validator discovery
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: cloud.google.com/machine-family
operator: In
values:
- t2d
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/part-of
operator: In
values:
- aptos-node
topologyKey: kubernetes.io/hostname
image:
repo: aptoslabs/validator
resources:
limits:
cpu: "42"
memory: 64Gi
requests:
cpu: "42"
memory: 64Gi
storage:
class: ssd
size: 1000Gi
config:
consensus:
max_sending_block_txns: 10000
max_receiving_block_txns: 16000
max_sending_block_bytes: 10000000
max_receiving_block_bytes: 15000000
quorum_store_configs:
max_batch_counts: 300
mempool_txn_pull_max_count: 300
mempool_txn_pull_max_bytes: 1000000
back_pressure_local_batch_num: 10
execution:
processed_transactions_detailed_counters: true
concurrency_level: 24
state_sync:
state_sync_driver:
bootstrapping_mode: ApplyTransactionOutputsFromGenesis
continuous_syncing_mode: ApplyTransactionOutputs
storage_service:
max_network_chunk_bytes: 20971520
max_transaction_output_chunk_size: 5000
data_streaming_service:
max_concurrent_requests: 20
storage:
rocksdb_configs:
use_state_kv_db: true
validator_network:
max_frame_size: 20971520
# the VFN configuration
fullnode:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: cloud.google.com/machine-family
operator: In
values:
- t2d
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/part-of
operator: In
values:
- aptos-node
topologyKey: kubernetes.io/hostname
image:
repo: aptoslabs/validator
resources:
limits:
cpu: "42"
memory: 64Gi
requests:
cpu: "42"
memory: 64Gi
storage:
class: ssd
size: 1000Gi
config:
api:
max_submit_transaction_batch_size: 100
execution:
processed_transactions_detailed_counters: true
storage:
rocksdb_configs:
use_state_kv_db: true