|
| 1 | +# hedera node configuration |
| 2 | +hedera: |
| 3 | + initContainers: |
| 4 | + - name: init-hedera-node |
| 5 | + image: busybox:stable-musl |
| 6 | + command: ["sh", "-c", "cp -r /etc /data-saved"] |
| 7 | + volumeMounts: |
| 8 | + - name: hgcapp-data-saved |
| 9 | + mountPath: /data-saved |
| 10 | + nodes: |
| 11 | + - name: node1 |
| 12 | + nodeId: 0 |
| 13 | + accountId: 0.0.3 |
| 14 | + root: |
| 15 | + resources: |
| 16 | + requests: |
| 17 | + cpu: 2 |
| 18 | + memory: 16Gi |
| 19 | + limits: |
| 20 | + cpu: 4 |
| 21 | + memory: 31Gi |
| 22 | + - name: node2 |
| 23 | + nodeId: 1 |
| 24 | + accountId: 0.0.4 |
| 25 | + root: |
| 26 | + resources: |
| 27 | + requests: |
| 28 | + cpu: 2 |
| 29 | + memory: 16Gi |
| 30 | + limits: |
| 31 | + cpu: 4 |
| 32 | + memory: 31Gi |
| 33 | + - name: node3 |
| 34 | + nodeId: 2 |
| 35 | + accountId: 0.0.5 |
| 36 | + root: |
| 37 | + resources: |
| 38 | + requests: |
| 39 | + cpu: 2 |
| 40 | + memory: 16Gi |
| 41 | + limits: |
| 42 | + cpu: 4 |
| 43 | + memory: 31Gi |
| 44 | + - name: node4 |
| 45 | + nodeId: 3 |
| 46 | + accountId: 0.0.6 |
| 47 | + root: |
| 48 | + resources: |
| 49 | + requests: |
| 50 | + cpu: 2 |
| 51 | + memory: 16Gi |
| 52 | + limits: |
| 53 | + cpu: 4 |
| 54 | + memory: 31Gi |
| 55 | +defaults: |
| 56 | + haproxy: |
| 57 | + serviceType: NodePort |
| 58 | + envoyProxy: |
| 59 | + loadBalancerEnabled: true |
| 60 | + sidecars: |
| 61 | + recordStreamUploader: |
| 62 | + resources: |
| 63 | + requests: |
| 64 | + cpu: 100m |
| 65 | + memory: 100Mi |
| 66 | + limits: |
| 67 | + cpu: 150m |
| 68 | + memory: 200Mi |
| 69 | + eventStreamUploader: |
| 70 | + resources: |
| 71 | + requests: |
| 72 | + cpu: 100m |
| 73 | + memory: 100Mi |
| 74 | + limits: |
| 75 | + cpu: 150m |
| 76 | + memory: 200Mi |
| 77 | + recordStreamSidecarUploader: |
| 78 | + resources: |
| 79 | + requests: |
| 80 | + cpu: 100m |
| 81 | + memory: 100Mi |
| 82 | + limits: |
| 83 | + cpu: 150m |
| 84 | + memory: 200Mi |
| 85 | + blockstreamUploader: |
| 86 | + resources: |
| 87 | + requests: |
| 88 | + cpu: 100m |
| 89 | + memory: 200Mi |
| 90 | + limits: |
| 91 | + cpu: 150m |
| 92 | + memory: 400Mi |
| 93 | + root: |
| 94 | + resources: |
| 95 | + requests: |
| 96 | + cpu: 2 |
| 97 | + memory: 16Gi |
| 98 | + limits: |
| 99 | + cpu: 4 |
| 100 | + memory: 31Gi |
| 101 | + extraEnv: |
| 102 | + - name: JAVA_OPTS |
| 103 | + value: "-XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:ZAllocationSpikeTolerance=2 -XX:ConcGCThreads=4 -XX:MaxDirectMemorySize=4g -XX:MetaspaceSize=100M -XX:+ZGenerational -Xlog:gc*:gc.log --add-opens java.base/jdk.internal.misc=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED -Dio.netty.tryReflectionSetAccessible=true" |
| 104 | + - name: JAVA_HEAP_MIN |
| 105 | + value: "16g" |
| 106 | + - name: JAVA_HEAP_MAX |
| 107 | + value: "19g" |
| 108 | + - name: MALLOC_ARENA_MAX |
| 109 | + value: "1" |
| 110 | +deployment: |
| 111 | + podAnnotations: {} |
| 112 | + podLabels: {} |
| 113 | + nodeSelector: |
| 114 | + solo.hashgraph.io/role: "consensus-node" |
| 115 | + tolerations: |
| 116 | + - key: "solo.hashgraph.io/role" |
| 117 | + operator: "Equal" |
| 118 | + value: "consensus-node" |
| 119 | + effect: "NoSchedule" |
| 120 | +minio-server: |
| 121 | + secrets: |
| 122 | + # This secret has [accessKey, secretKey] and will be randomly generated by helm |
| 123 | + existingSecret: minio-secrets |
| 124 | + tenant: |
| 125 | + buckets: |
| 126 | + - name: solo-streams |
| 127 | + - name: solo-backups |
| 128 | + name: minio |
| 129 | + pools: |
| 130 | + - servers: 1 |
| 131 | + name: pool-1 |
| 132 | + volumesPerServer: 1 |
| 133 | + size: 512Gi |
| 134 | + storageClassName: standard-rwo |
| 135 | + nodeSelector: {} |
| 136 | + configuration: |
| 137 | + name: minio-secrets |
| 138 | + certificate: |
| 139 | + requestAutoCert: false |
| 140 | + environment: |
| 141 | + MINIO_BROWSER_LOGIN_ANIMATION: off # https://github.com/minio/console/issues/2539#issuecomment-1619211962 |
| 142 | +haproxyDeployment: |
| 143 | + affinity: |
| 144 | + podAntiAffinity: |
| 145 | + requiredDuringSchedulingIgnoredDuringExecution: |
| 146 | + - labelSelector: |
| 147 | + matchExpressions: |
| 148 | + - key: solo.hedera.com/type |
| 149 | + operator: In |
| 150 | + values: |
| 151 | + - network-node |
| 152 | + topologyKey: kubernetes.io/hostname |
| 153 | +envoyDeployment: |
| 154 | + affinity: |
| 155 | + podAntiAffinity: |
| 156 | + requiredDuringSchedulingIgnoredDuringExecution: |
| 157 | + - labelSelector: |
| 158 | + matchExpressions: |
| 159 | + - key: solo.hedera.com/type |
| 160 | + operator: In |
| 161 | + values: |
| 162 | + - network-node |
| 163 | + topologyKey: kubernetes.io/hostname |
| 164 | +minioDeployment: |
| 165 | + affinity: |
| 166 | + podAntiAffinity: |
| 167 | + requiredDuringSchedulingIgnoredDuringExecution: |
| 168 | + - labelSelector: |
| 169 | + matchExpressions: |
| 170 | + - key: solo.hedera.com/type |
| 171 | + operator: In |
| 172 | + values: |
| 173 | + - network-node |
| 174 | + topologyKey: kubernetes.io/hostname |
0 commit comments