Skip to content

Commit

Permalink
fix: Revised example configs for Latitude deployment, automation frie…
Browse files Browse the repository at this point in the history
…ndly (#1038)

Signed-off-by: Alex Kuzmin <[email protected]>
  • Loading branch information
alex-kuzmin-hg authored Dec 31, 2024
1 parent c9f0ab1 commit 434daf3
Show file tree
Hide file tree
Showing 6 changed files with 438 additions and 32 deletions.
16 changes: 9 additions & 7 deletions examples/performance-tuning/Latitude/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ includes:
main:
taskfile: ../../ExamplesTasks.yml
flatten: true
vars:
solo_home_override_dir: "%HOME%/.solo"
env:
SOLO_NETWORK_SIZE: 10
SOLO_NAMESPACE: solo-perf-lat
SOLO_NAMESPACE: %SOLO_NAMESPACE%
SOLO_CHART_VERSION: 0.36.3
CONSENSUS_NODE_VERSION: v0.58.0
CONSENSUS_NODE_VERSION: 0.0.0
VALUES_FLAG: "--values-file {{.USER_WORKING_DIR}}/init-containers-values.yaml"
SETTINGS_FLAG: "--settings-txt {{.USER_WORKING_DIR}}/settings.txt"
SOLO_HOME: "/Users/user/.solo-perf-lat"
# LOG4J2_FLAG: "--log4j2-xml {{.USER_WORKING_DIR}}/log4j2.xml"
# APPLICATION_PROPERTIES_FLAG: "--application-properties {{.USER_WORKING_DIR}}/application.properties"
# HEDERA_SERVICES_ROOT: "/Users/user/source/hedera-services"
# LOCAL_BUILD_FLAG: "--local-build-path {{.HEDERA_SERVICES_ROOT}}/hedera-node/data"
SOLO_HOME: "{{.solo_home_override_dir}}"
LOG4J2_FLAG: "--log4j2-xml {{.USER_WORKING_DIR}}/log4j2.xml"
APPLICATION_PROPERTIES_FLAG: "--application-properties {{.USER_WORKING_DIR}}/application.properties"
HEDERA_SERVICES_ROOT: "%HEDERA_SERVICES_ROOT%"
LOCAL_BUILD_FLAG: "--local-build-path {{.HEDERA_SERVICES_ROOT}}/hedera-node/data"
2 changes: 2 additions & 0 deletions examples/performance-tuning/Latitude/application.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
contracts.chainId=298
entities.unlimitedAutoAssociationsEnabled=true
53 changes: 41 additions & 12 deletions examples/performance-tuning/Latitude/init-containers-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hedera:
- name: hgcapp-data-saved
mountPath: /data-saved
nodes:
- name: node0
- name: node1
accountId: 0.0.3
root:
resources:
Expand All @@ -18,7 +18,7 @@ hedera:
limits:
cpu: 24
memory: 256Gi
- name: node1
- name: node2
accountId: 0.0.4
root:
resources:
Expand All @@ -28,7 +28,7 @@ hedera:
limits:
cpu: 24
memory: 256Gi
- name: node2
- name: node3
accountId: 0.0.5
root:
resources:
Expand All @@ -38,7 +38,7 @@ hedera:
limits:
cpu: 24
memory: 256Gi
- name: node3
- name: node4
accountId: 0.0.6
root:
resources:
Expand All @@ -48,7 +48,7 @@ hedera:
limits:
cpu: 24
memory: 256Gi
- name: node4
- name: node5
accountId: 0.0.7
root:
resources:
Expand All @@ -58,7 +58,7 @@ hedera:
limits:
cpu: 24
memory: 256Gi
- name: node5
- name: node6
accountId: 0.0.8
root:
resources:
Expand All @@ -68,7 +68,7 @@ hedera:
limits:
cpu: 24
memory: 256Gi
- name: node6
- name: node7
accountId: 0.0.9
root:
resources:
Expand All @@ -78,7 +78,7 @@ hedera:
limits:
cpu: 24
memory: 256Gi
- name: node7
- name: node8
accountId: 0.0.10
root:
resources:
Expand All @@ -88,7 +88,7 @@ hedera:
limits:
cpu: 24
memory: 256Gi
- name: node8
- name: node9
accountId: 0.0.11
root:
resources:
Expand All @@ -98,7 +98,7 @@ hedera:
limits:
cpu: 24
memory: 256Gi
- name: node9
- name: node10
accountId: 0.0.12
root:
resources:
Expand All @@ -109,8 +109,35 @@ hedera:
cpu: 24
memory: 256Gi
defaults:
haproxy:
serviceType: NodePort
envoyProxy:
loadBalancerEnabled: true
sidecars:
recordStreamUploader:
resources:
requests:
cpu: 100m
memory: 200Mi
limits:
cpu: 150m
memory: 400Mi
eventStreamUploader:
resources:
requests:
cpu: 100m
memory: 200Mi
limits:
cpu: 150m
memory: 400Mi
recordStreamSidecarUploader:
resources:
requests:
cpu: 100m
memory: 200Mi
limits:
cpu: 150m
memory: 400Mi
root:
resources:
requests:
Expand All @@ -126,6 +153,8 @@ defaults:
value: "32g"
- name: JAVA_HEAP_MAX
value: "118g"
- name: MALLOC_ARENA_MAX
value: "4"
minio-server:
tenant:
pools:
Expand All @@ -147,7 +176,7 @@ deployment:
nodeSelector:
solo.hashgraph.io/role: "consensus-node"
solo.hashgraph.io/owner: "alex.kuzmin"
solo.hashgraph.io/network-id: "1"
solo.hashgraph.io/network-id: "%NETWORK_ID%"
tolerations:
- key: "solo.hashgraph.io/role"
operator: "Equal"
Expand All @@ -159,5 +188,5 @@ deployment:
effect: "NoSchedule"
- key: "solo.hashgraph.io/network-id"
operator: "Equal"
value: "1"
value: "%NETWORK_ID%"
effect: "NoSchedule"
Loading

0 comments on commit 434daf3

Please sign in to comment.