diff --git a/charts/firehose-antelope/Chart.yaml b/charts/firehose-antelope/Chart.yaml index b92cdcf..5302d39 100644 --- a/charts/firehose-antelope/Chart.yaml +++ b/charts/firehose-antelope/Chart.yaml @@ -3,24 +3,24 @@ appVersion: 0.1.0 description: A Helm chart for firehose-antelope components name: firehose-antelope type: application -version: 1.0.5 +version: 1.1.0 dependencies: - name: reader-node - version: 0.1.0 + version: 0.1.1 repository: file://charts/reader-node - name: merger - version: 0.1.0 + version: 0.1.1 repository: file://charts/merger - name: relayer - version: 0.1.0 + version: 0.1.1 repository: file://charts/relayer - name: substreams-tier1 - version: 0.1.0 + version: 0.1.1 repository: file://charts/substreams-tier1 - name: substreams-tier2 - version: 0.1.0 + version: 0.1.1 repository: file://charts/substreams-tier2 - name: firehose - version: 0.1.0 + version: 0.1.1 repository: file://charts/firehose diff --git a/charts/firehose-antelope/charts/firehose/Chart.yaml b/charts/firehose-antelope/charts/firehose/Chart.yaml index 0d15845..f10424f 100644 --- a/charts/firehose-antelope/charts/firehose/Chart.yaml +++ b/charts/firehose-antelope/charts/firehose/Chart.yaml @@ -3,4 +3,4 @@ appVersion: v1.3.2-1.0.2 description: A Helm chart for firehose gRPC name: firehose type: application -version: 0.1.0 +version: 0.1.1 diff --git a/charts/firehose-antelope/charts/firehose/templates/statefulset.yaml b/charts/firehose-antelope/charts/firehose/templates/statefulset.yaml index bd0d924..17a1cd4 100644 --- a/charts/firehose-antelope/charts/firehose/templates/statefulset.yaml +++ b/charts/firehose-antelope/charts/firehose/templates/statefulset.yaml @@ -23,8 +23,8 @@ spec: serviceAccountName: "{{ .Values.statefulset.serviceAccountName }}" containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} + image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.firehoseTag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.global.image.pullPolicy }} command: - "/app/fireantelope" - "start" @@ -35,9 +35,9 @@ spec: - "--common-auth-plugin={{ .Values.statefulset.commonAuthPlugin }}" - "--common-live-blocks-addr={{ .Values.statefulset.commonLiveBlocksAddr }}" - "--common-system-shutdown-signal-delay={{ .Values.statefulset.commonSystemShutdownSignalDelay }}" - - "--common-merged-blocks-store-url={{ .Values.statefulset.commonMergedBlocksStoreUrl }}" - - "--common-one-block-store-url={{ .Values.statefulset.commonOneBlockStoreUrl }}" - - "--common-forked-blocks-store-url={{ .Values.statefulset.commonForkedBlocksStoreUrl }}" + - "--common-merged-blocks-store-url={{ .Values.global.store.commonMergedBlocksStoreUrl }}" + - "--common-one-block-store-url={{ .Values.global.store.commonOneBlockStoreUrl }}" + - "--common-forked-blocks-store-url={{ .Values.global.store.commonForkedBlocksStoreUrl }}" - "--firehose-grpc-listen-addr={{ .Values.statefulset.firehoseGrpcListenAddr }}" {{- with .Values.statefulset.extraCommands }} {{- toYaml . | nindent 14 }} diff --git a/charts/firehose-antelope/charts/firehose/values.yaml b/charts/firehose-antelope/charts/firehose/values.yaml index c0417a0..0dd6233 100644 --- a/charts/firehose-antelope/charts/firehose/values.yaml +++ b/charts/firehose-antelope/charts/firehose/values.yaml @@ -21,9 +21,6 @@ statefulset: commonAuthPlugin: null:// commonLiveBlocksAddr: dns:///relayer:9000 commonSystemShutdownSignalDelay: 30s - commonMergedBlocksStoreUrl: "" - commonOneBlockStoreUrl: "" - commonForkedBlocksStoreUrl: "" firehoseGrpcListenAddr: :9000 extraCommands: [] # ports @@ -54,6 +51,7 @@ localVolume: service: labels: monitoring: "true" + monitor: prometheus type: ClusterIP ports: - protocol: TCP diff --git a/charts/firehose-antelope/charts/merger/Chart.yaml b/charts/firehose-antelope/charts/merger/Chart.yaml index 11964e5..3895d4e 100644 --- a/charts/firehose-antelope/charts/merger/Chart.yaml +++ b/charts/firehose-antelope/charts/merger/Chart.yaml @@ -3,4 +3,4 @@ appVersion: v1.3.2-1.0.2 description: A Helm chart for merger name: merger type: application -version: 0.1.0 +version: 0.1.1 diff --git a/charts/firehose-antelope/charts/merger/templates/statefulset.yaml b/charts/firehose-antelope/charts/merger/templates/statefulset.yaml index 14e9b44..0ae2bc7 100644 --- a/charts/firehose-antelope/charts/merger/templates/statefulset.yaml +++ b/charts/firehose-antelope/charts/merger/templates/statefulset.yaml @@ -23,8 +23,8 @@ spec: serviceAccountName: "{{ .Values.statefulset.serviceAccountName }}" containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} + image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.firehoseTag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.global.image.pullPolicy }} command: - "/app/fireantelope" - "start" @@ -32,9 +32,9 @@ spec: - "--config-file=" - "--log-format=stackdriver" - "--log-to-file=false" - - "--common-merged-blocks-store-url={{ .Values.statefulset.commonMergedBlocksStoreUrl }}" - - "--common-one-block-store-url={{ .Values.statefulset.commonOneBlockStoreUrl }}" - - "--common-forked-blocks-store-url={{ .Values.statefulset.commonForkedBlocksStoreUrl }}" + - "--common-merged-blocks-store-url={{ .Values.global.store.commonMergedBlocksStoreUrl }}" + - "--common-one-block-store-url={{ .Values.global.store.commonOneBlockStoreUrl }}" + - "--common-forked-blocks-store-url={{ .Values.global.store.commonForkedBlocksStoreUrl }}" - "--merger-grpc-listen-addr={{ .Values.statefulset.mergerGrpcListenAddr }}" - "--merger-prune-forked-blocks-after={{ .Values.statefulset.mergerPruneForkedBlocksAfter }}" - "--merger-stop-block={{ .Values.statefulset.mergerStopBlock }}" diff --git a/charts/firehose-antelope/charts/merger/values.yaml b/charts/firehose-antelope/charts/merger/values.yaml index 0f40e8b..b6a8bbb 100644 --- a/charts/firehose-antelope/charts/merger/values.yaml +++ b/charts/firehose-antelope/charts/merger/values.yaml @@ -18,9 +18,6 @@ statefulset: enabled: true serviceAccountName: "" # commands - commonMergedBlocksStoreUrl: "" - commonOneBlockStoreUrl: "" - commonForkedBlocksStoreUrl: "" mergerGrpcListenAddr: :9000 mergerPruneForkedBlocksAfter: 2000 mergerStopBlock: 0 @@ -60,6 +57,7 @@ localVolume: service: labels: monitoring: "true" + monitor: prometheus type: ClusterIP ports: - protocol: TCP diff --git a/charts/firehose-antelope/charts/reader-node/Chart.yaml b/charts/firehose-antelope/charts/reader-node/Chart.yaml index c8a2e39..66246e3 100644 --- a/charts/firehose-antelope/charts/reader-node/Chart.yaml +++ b/charts/firehose-antelope/charts/reader-node/Chart.yaml @@ -3,4 +3,4 @@ appVersion: v1.3.2-1.0.2-nodeos3.2.5-2.0.4 description: A Helm chart for reader-node name: reader-node type: application -version: 0.1.0 +version: 0.1.1 diff --git a/charts/firehose-antelope/charts/reader-node/templates/configmap.yaml b/charts/firehose-antelope/charts/reader-node/templates/configmap.yaml index 297ad6d..59c8415 100644 --- a/charts/firehose-antelope/charts/reader-node/templates/configmap.yaml +++ b/charts/firehose-antelope/charts/reader-node/templates/configmap.yaml @@ -5,9 +5,44 @@ metadata: labels: {{- include "reader-node.labels" . | nindent 4 }} data: - {{- range $key, $val := .Values.configmap.config }} - {{ $key }}: {{ $val | quote }} - {{- end }} + config.ini: | + http-server-address = 0.0.0.0:8888 + p2p-server-address = 0.0.0.0:9876 + p2p-max-nodes-per-host = 2 + connection-cleanup-period = 60 + verbose-http-errors = true + chain-state-db-size-mb = 64000 + http-validate-host = false + max-transaction-time = 5000 + abi-serializer-max-time-ms = 500000 + + plugin = eosio::net_api_plugin + plugin = eosio::chain_api_plugin + plugin = eosio::db_size_api_plugin + plugin = eosio::producer_api_plugin + + # Max speed for replay + validation-mode = light + + # Enable deep mind + deep-mind = true + agent-name = reader-node + + wasm-runtime = eos-vm-jit + eos-vm-oc-enable = true + eos-vm-oc-compile-threads = 4 + contracts-console = true + read-mode = head + p2p-accept-transactions = false + api-accept-transactions = false + + http-threads = 2 + + {{- range .Values.global.nodeos.apis }} + p2p-peer-address = {{ . }} + {{- end }} + genesis.json: | + {{- .Values.global.nodeos.genesis_json | required "Need a genesis.json content" | nindent 4 }} --- apiVersion: v1 kind: ConfigMap @@ -16,6 +51,309 @@ metadata: labels: {{- include "reader-node.labels" . | nindent 4 }} data: - {{- range $key, $val := .Values.configmap.protocol_features }} - {{ $key }}: {{ $val | quote }} - {{- end }} \ No newline at end of file + BUILTIN-ACTION_RETURN_VALUE.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "69b064c5178e2738e144ed6caa9349a3995370d78db29e494b3126ebd9111966", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "ACTION_RETURN_VALUE" + + } + BUILTIN-ASSERT_CODE_NAME_WHAT_MESSAGE.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "86f62fe597c7ddb18e14477bb2429eb1ee6c296a47bf8f7240aff6944166ff6c", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "ASSERT_CODE_NAME_WHAT_MESSAGE" + } + BUILTIN-BILL_FAILED_TRANSACTIONS.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "f0053bba76d93f1e5434c1cf87fa45f9e3f2e0dd0074f9183a5ac8a33b601dde", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "BILL_FAILED_TRANSACTIONS" + + } + BUILTIN-BLOCKCHAIN_PARAMETERS.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "70787548dcea1a2c52c913a37f74ce99e6caae79110d7ca7b859936a0075b314", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "BLOCKCHAIN_PARAMETERS" + } + BUILTIN-BLS_PRIMITIVES2.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "c0cce5bcd8ea19a28d9e12eafda65ebe6d0e0177e280d4f20c7ad66dcd9e011b", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "BLS_PRIMITIVES2" + } + BUILTIN-CONFIGURABLE_WASM_LIMITS2.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "8139e99247b87f18ef7eae99f07f00ea3adf39ed53f4d2da3f44e6aa0bfd7c62", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "CONFIGURABLE_WASM_LIMITS2" + } + BUILTIN-CRYPTO_PRIMITIVES.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "68d6405cb8df3de95bd834ebb408196578500a9f818ff62ccc68f60b932f7d82", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "CRYPTO_PRIMITIVES" + } + BUILTIN-DISABLE_DEFERRED.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "086466d278efe08d9be42a547a2bb8e93b9f3092befbd2042683cad6d17805dd", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "DISABLE_DEFERRED" + } + BUILTIN-DISABLE_DEFERRED_TRXS_STAGE_1.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "440c3efaaab212c387ce967c574dc813851cf8332d041beb418dfaf55facd5a9", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "DISABLE_DEFERRED_TRXS_STAGE_1" + } + BUILTIN-DISABLE_DEFERRED_TRXS_STAGE_2.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [ + "b11a68e046b634a060c3e9592330b3f742abd197b1d4457bbd9501fe549659d4" + ], + "description_digest": "a857eeb932774c511a40efb30346ec01bfb7796916b54c3c69fe7e5fb70d5cba", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "DISABLE_DEFERRED_TRXS_STAGE_2" + } + BUILTIN-DISALLOW_EMPTY_PRODUCER_SCHEDULE.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "2853617cec3eabd41881eb48882e6fc5e81a0db917d375057864b3befbe29acd", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "DISALLOW_EMPTY_PRODUCER_SCHEDULE" + } + BUILTIN-FIX_LINKAUTH_RESTRICTION.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "a98241c83511dc86c857221b9372b4aa7cea3aaebc567a48604e1d3db3557050", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "FIX_LINKAUTH_RESTRICTION" + } + BUILTIN-FORWARD_SETCODE.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "898082c59f921d0042e581f00a59d5ceb8be6f1d9c7a45b6f07c0e26eaee0222", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "FORWARD_SETCODE" + } + BUILTIN-GET_BLOCK_NUM.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "e5d7992006e628a38c5e6c28dd55ff5e57ea682079bf41fef9b3cced0f46b491", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "GET_BLOCK_NUM" + } + BUILTIN-GET_CODE_HASH.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "d2596697fed14a0840013647b99045022ae6a885089f35a7e78da7a43ad76ed4", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "GET_CODE_HASH" + } + BUILTIN-GET_SENDER.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "1eab748b95a2e6f4d7cb42065bdee5566af8efddf01a55a0a8d831b823f8828a", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "GET_SENDER" + } + BUILTIN-NO_DUPLICATE_DEFERRED_ID.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [ + "ef43112c6543b88db2283a2e077278c315ae2c84719a8b25f25cc88565fbea99" + ], + "description_digest": "45967387ee92da70171efd9fefd1ca8061b5efe6f124d269cd2468b47f1575a0", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "NO_DUPLICATE_DEFERRED_ID" + } + BUILTIN-ONLY_BILL_FIRST_AUTHORIZER.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "2f1f13e291c79da5a2bbad259ed7c1f2d34f697ea460b14b565ac33b063b73e2", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "ONLY_BILL_FIRST_AUTHORIZER" + } + BUILTIN-ONLY_LINK_TO_EXISTING_PERMISSION.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "f3c3d91c4603cde2397268bfed4e662465293aab10cd9416db0d442b8cec2949", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "ONLY_LINK_TO_EXISTING_PERMISSION" + } + BUILTIN-PREACTIVATE_FEATURE.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "64fe7df32e9b86be2b296b3f81dfd527f84e82b98e363bc97e40bc7a83733310", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": false, + "enabled": true + }, + "builtin_feature_codename": "PREACTIVATE_FEATURE" + } + BUILTIN-RAM_RESTRICTIONS.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "1812fdb5096fd854a4958eb9d53b43219d114de0e858ce00255bd46569ad2c68", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "RAM_RESTRICTIONS" + } + BUILTIN-REPLACE_DEFERRED.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "9908b3f8413c8474ab2a6be149d3f4f6d0421d37886033f27d4759c47a26d944", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "REPLACE_DEFERRED" + } + BUILTIN-RESTRICT_ACTION_TO_SELF.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "e71b6712188391994c78d8c722c1d42c477cf091e5601b5cf1befd05721a57f3", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "RESTRICT_ACTION_TO_SELF" + } + BUILTIN-WEBAUTHN_KEY.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "927fdf78c51e77a899f2db938249fb1f8bb38f4e43d9c1f75b190492080cbc34", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "WEBAUTHN_KEY" + } + BUILTIN-WTMSIG_BLOCK_SIGNATURES.json: |- + { + "protocol_feature_type": "builtin", + "dependencies": [], + "description_digest": "ab76031cad7a457f4fd5f5fca97a3f03b8a635278e0416f77dcc91eb99a48e10", + "subjective_restrictions": { + "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", + "preactivation_required": true, + "enabled": true + }, + "builtin_feature_codename": "WTMSIG_BLOCK_SIGNATURES" + } \ No newline at end of file diff --git a/charts/firehose-antelope/charts/reader-node/templates/statefulset.yaml b/charts/firehose-antelope/charts/reader-node/templates/statefulset.yaml index 29bfaf6..2422772 100644 --- a/charts/firehose-antelope/charts/reader-node/templates/statefulset.yaml +++ b/charts/firehose-antelope/charts/reader-node/templates/statefulset.yaml @@ -23,8 +23,8 @@ spec: serviceAccountName: "{{ .Values.statefulset.serviceAccountName }}" containers: - name: "{{ .Values.statefulset.name }}" - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} + image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.nodeosTag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.global.image.pullPolicy }} command: - "/app/fireantelope" - "start" @@ -32,7 +32,7 @@ spec: - "--config-file=" - "--log-format=stackdriver" - "--log-to-file=false" - - "--common-one-block-store-url={{ .Values.statefulset.commonOneBlockStoreUrl }}" + - "--common-one-block-store-url={{ .Values.global.store.commonOneBlockStoreUrl }}" - "--common-system-shutdown-signal-delay={{ .Values.statefulset.commonSystemShutdownSignalDelay }}" - "--reader-node-arguments={{ .Values.statefulset.readerNodeArguments }}" - "--reader-node-blocks-chan-capacity={{ .Values.statefulset.readerNodeBlocksChanCapacity }}" diff --git a/charts/firehose-antelope/charts/reader-node/values.yaml b/charts/firehose-antelope/charts/reader-node/values.yaml index 908777a..67bd00d 100644 --- a/charts/firehose-antelope/charts/reader-node/values.yaml +++ b/charts/firehose-antelope/charts/reader-node/values.yaml @@ -19,7 +19,6 @@ statefulset: name: nodeos serviceAccountName: "" # commands - commonOneBlockStoreUrl: "" commonSystemShutdownSignalDelay: 20s readerNodeArguments: '--config-dir=/etc/nodeos --data-dir=/nodeos-data --genesis-json=/etc/nodeos/genesis.json' readerNodeBlocksChanCapacity: 100 @@ -90,6 +89,7 @@ localVolume: service: labels: monitoring: "true" + monitor: prometheus type: ClusterIP ports: - protocol: TCP @@ -125,331 +125,3 @@ pdb: nodeSelector: role: application - -configmap: - config: - config.ini: | - http-server-address = 0.0.0.0:8888 - p2p-server-address = 0.0.0.0:9876 - p2p-max-nodes-per-host = 2 - connection-cleanup-period = 60 - verbose-http-errors = true - chain-state-db-size-mb = 64000 - http-validate-host = false - max-transaction-time = 5000 - abi-serializer-max-time-ms = 500000 - - plugin = eosio::net_api_plugin - plugin = eosio::chain_api_plugin - plugin = eosio::db_size_api_plugin - plugin = eosio::producer_api_plugin - - # Max speed for replay - validation-mode = light - - # Enable deep mind - deep-mind = true - agent-name = reader-node - p2p-peer-address = 127.0.0.1:9876 - - wasm-runtime = eos-vm-jit - eos-vm-oc-enable = true - eos-vm-oc-compile-threads = 4 - contracts-console = true - read-mode = head - p2p-accept-transactions = false - api-accept-transactions = false - - http-threads = 2 - genesis.json: | - { - "initial_configuration": { - "base_per_transaction_net_usage": 12, - "context_free_discount_net_usage_den": 100, - "context_free_discount_net_usage_num": 20, - "deferred_trx_expiration_window": 600, - "max_authority_depth": 10, - "max_block_cpu_usage": 400000, - "max_block_net_usage": 1048576, - "max_inline_action_depth": 10, - "max_inline_action_size": 524287, - "max_transaction_cpu_usage": 200000, - "max_transaction_delay": 3888000, - "max_transaction_lifetime": 3600, - "max_transaction_net_usage": 524288, - "min_transaction_cpu_usage": 1, - "net_usage_leeway": 500, - "target_block_cpu_usage_pct": 2500, - "target_block_net_usage_pct": 1000, - "ultra_veto_enabled": 1 - }, - "initial_key": "EOS6bYy8KR5sBMKAk45Lkq88A1TwZRGDwph4X8ynJj7bkzSysoQvw", - "initial_timestamp": "2021-05-26T17:27:27.007" - } - protocol_features: - BUILTIN-ACTION_RETURN_VALUE.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "69b064c5178e2738e144ed6caa9349a3995370d78db29e494b3126ebd9111966", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "ACTION_RETURN_VALUE" - } - BUILTIN-ASSERT_CODE_NAME_WHAT_MESSAGE.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "86f62fe597c7ddb18e14477bb2429eb1ee6c296a47bf8f7240aff6944166ff6c", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "ASSERT_CODE_NAME_WHAT_MESSAGE" - } - BUILTIN-BILL_FAILED_TRANSACTIONS.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "f0053bba76d93f1e5434c1cf87fa45f9e3f2e0dd0074f9183a5ac8a33b601dde", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "BILL_FAILED_TRANSACTIONS" - } - BUILTIN-BLOCKCHAIN_PARAMETERS.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "70787548dcea1a2c52c913a37f74ce99e6caae79110d7ca7b859936a0075b314", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "BLOCKCHAIN_PARAMETERS" - } - BUILTIN-CONFIGURABLE_WASM_LIMITS2.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "8139e99247b87f18ef7eae99f07f00ea3adf39ed53f4d2da3f44e6aa0bfd7c62", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "CONFIGURABLE_WASM_LIMITS2" - } - BUILTIN-CRYPTO_PRIMITIVES.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "68d6405cb8df3de95bd834ebb408196578500a9f818ff62ccc68f60b932f7d82", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "CRYPTO_PRIMITIVES" - } - BUILTIN-DISABLE_DEFERRED.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "086466d278efe08d9be42a547a2bb8e93b9f3092befbd2042683cad6d17805dd", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "DISABLE_DEFERRED" - } - BUILTIN-DISALLOW_EMPTY_PRODUCER_SCHEDULE.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "2853617cec3eabd41881eb48882e6fc5e81a0db917d375057864b3befbe29acd", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "DISALLOW_EMPTY_PRODUCER_SCHEDULE" - } - BUILTIN-FIX_LINKAUTH_RESTRICTION.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "a98241c83511dc86c857221b9372b4aa7cea3aaebc567a48604e1d3db3557050", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "FIX_LINKAUTH_RESTRICTION" - } - BUILTIN-FORWARD_SETCODE.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "898082c59f921d0042e581f00a59d5ceb8be6f1d9c7a45b6f07c0e26eaee0222", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "FORWARD_SETCODE" - } - BUILTIN-GET_BLOCK_NUM.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "e5d7992006e628a38c5e6c28dd55ff5e57ea682079bf41fef9b3cced0f46b491", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "GET_BLOCK_NUM" - } - BUILTIN-GET_CODE_HASH.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "d2596697fed14a0840013647b99045022ae6a885089f35a7e78da7a43ad76ed4", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "GET_CODE_HASH" - } - BUILTIN-GET_SENDER.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "1eab748b95a2e6f4d7cb42065bdee5566af8efddf01a55a0a8d831b823f8828a", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "GET_SENDER" - } - BUILTIN-NO_DUPLICATE_DEFERRED_ID.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [ - "ef43112c6543b88db2283a2e077278c315ae2c84719a8b25f25cc88565fbea99" - ], - "description_digest": "45967387ee92da70171efd9fefd1ca8061b5efe6f124d269cd2468b47f1575a0", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "NO_DUPLICATE_DEFERRED_ID" - } - BUILTIN-ONLY_BILL_FIRST_AUTHORIZER.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "2f1f13e291c79da5a2bbad259ed7c1f2d34f697ea460b14b565ac33b063b73e2", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "ONLY_BILL_FIRST_AUTHORIZER" - } - BUILTIN-ONLY_LINK_TO_EXISTING_PERMISSION.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "f3c3d91c4603cde2397268bfed4e662465293aab10cd9416db0d442b8cec2949", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "ONLY_LINK_TO_EXISTING_PERMISSION" - } - BUILTIN-PREACTIVATE_FEATURE.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "64fe7df32e9b86be2b296b3f81dfd527f84e82b98e363bc97e40bc7a83733310", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": false, - "enabled": true - }, - "builtin_feature_codename": "PREACTIVATE_FEATURE" - } - BUILTIN-RAM_RESTRICTIONS.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "1812fdb5096fd854a4958eb9d53b43219d114de0e858ce00255bd46569ad2c68", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "RAM_RESTRICTIONS" - } - BUILTIN-REPLACE_DEFERRED.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "9908b3f8413c8474ab2a6be149d3f4f6d0421d37886033f27d4759c47a26d944", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "REPLACE_DEFERRED" - } - BUILTIN-RESTRICT_ACTION_TO_SELF.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "e71b6712188391994c78d8c722c1d42c477cf091e5601b5cf1befd05721a57f3", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "RESTRICT_ACTION_TO_SELF" - } - BUILTIN-WEBAUTHN_KEY.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "927fdf78c51e77a899f2db938249fb1f8bb38f4e43d9c1f75b190492080cbc34", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "WEBAUTHN_KEY" - } - BUILTIN-WTMSIG_BLOCK_SIGNATURES.json: | - { - "protocol_feature_type": "builtin", - "dependencies": [], - "description_digest": "ab76031cad7a457f4fd5f5fca97a3f03b8a635278e0416f77dcc91eb99a48e10", - "subjective_restrictions": { - "earliest_allowed_activation_time": "1970-01-01T00:00:00.000", - "preactivation_required": true, - "enabled": true - }, - "builtin_feature_codename": "WTMSIG_BLOCK_SIGNATURES" - } diff --git a/charts/firehose-antelope/charts/relayer/Chart.yaml b/charts/firehose-antelope/charts/relayer/Chart.yaml index 22f5ac4..109ff7e 100644 --- a/charts/firehose-antelope/charts/relayer/Chart.yaml +++ b/charts/firehose-antelope/charts/relayer/Chart.yaml @@ -3,4 +3,4 @@ appVersion: v1.3.2-1.0.2 description: A Helm chart for relayer name: relayer type: application -version: 0.1.0 +version: 0.1.1 diff --git a/charts/firehose-antelope/charts/relayer/templates/deployment.yaml b/charts/firehose-antelope/charts/relayer/templates/deployment.yaml index 8d608e1..1f2f782 100644 --- a/charts/firehose-antelope/charts/relayer/templates/deployment.yaml +++ b/charts/firehose-antelope/charts/relayer/templates/deployment.yaml @@ -24,8 +24,8 @@ spec: serviceAccountName: "{{ .Values.deployment.serviceAccountName }}" containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} + image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.firehoseTag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.global.image.pullPolicy }} command: - "/app/fireantelope" - "start" @@ -33,7 +33,7 @@ spec: - "--config-file=" - "--log-format=stackdriver" - "--log-to-file=false" - - "--common-one-block-store-url={{ .Values.deployment.commonOneBlockStoreUrl }}" + - "--common-one-block-store-url={{ .Values.global.store.commonOneBlockStoreUrl }}" - "--relayer-max-source-latency={{ .Values.deployment.relayerMaxSourceLatency }}" - "--relayer-grpc-listen-addr={{ .Values.deployment.relayerGrpcListenAddr }}" - "--relayer-source={{ .Values.deployment.relayerSource1 }}" diff --git a/charts/firehose-antelope/charts/relayer/values.yaml b/charts/firehose-antelope/charts/relayer/values.yaml index 6886e3b..e560921 100644 --- a/charts/firehose-antelope/charts/relayer/values.yaml +++ b/charts/firehose-antelope/charts/relayer/values.yaml @@ -18,7 +18,6 @@ deployment: enabled: true serviceAccountName: "" # commands - commonOneBlockStoreUrl: "" relayerMaxSourceLatency: 10m relayerGrpcListenAddr: :9000 relayerSource1: dns:///reader-node-0.reader-node:9000 @@ -52,6 +51,7 @@ localVolume: service: labels: monitoring: "true" + monitor: prometheus type: ClusterIP ports: - protocol: TCP diff --git a/charts/firehose-antelope/charts/substreams-tier1/Chart.yaml b/charts/firehose-antelope/charts/substreams-tier1/Chart.yaml index 8b3aba5..f580877 100644 --- a/charts/firehose-antelope/charts/substreams-tier1/Chart.yaml +++ b/charts/firehose-antelope/charts/substreams-tier1/Chart.yaml @@ -3,4 +3,4 @@ appVersion: v1.3.2-1.0.2 description: A Helm chart for substreams-tier1 name: substreams-tier1 type: application -version: 0.1.0 +version: 0.1.1 diff --git a/charts/firehose-antelope/charts/substreams-tier1/templates/statefulset.yaml b/charts/firehose-antelope/charts/substreams-tier1/templates/statefulset.yaml index b910829..1009853 100644 --- a/charts/firehose-antelope/charts/substreams-tier1/templates/statefulset.yaml +++ b/charts/firehose-antelope/charts/substreams-tier1/templates/statefulset.yaml @@ -23,8 +23,8 @@ spec: serviceAccountName: "{{ .Values.statefulset.serviceAccountName }}" containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} + image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.firehoseTag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.global.image.pullPolicy }} command: - "/app/fireantelope" - "start" @@ -36,10 +36,10 @@ spec: - "--common-live-blocks-addr={{ .Values.statefulset.commonLiveBlocksAddr }}" - "--common-system-shutdown-signal-delay={{ .Values.statefulset.commonSystemShutdownSignalDelay }}" - "--common-merged-blocks-store-url={{ .Values.statefulset.commonMergedBlocksStoreUrl }}" - - "--common-one-block-store-url={{ .Values.statefulset.commonOneBlockStoreUrl }}" + - "--common-one-block-store-url={{ .Values.global.store.commonOneBlockStoreUrl }}" - "--common-forked-blocks-store-url={{ .Values.statefulset.commonForkedBlocksStoreUrl }}" - "--substreams-state-bundle-size={{ .Values.statefulset.substreamsStateBundleSize }}" - - "--substreams-state-store-url={{ .Values.statefulset.substreamsStateStoreUrl }}" + - "--substreams-state-store-url={{ .Values.global.store.substreamsStateStoreUrl }}" - "--substreams-state-store-default-tag={{ .Values.statefulset.substreamsStateStoreDefaultTag }}" - "--substreams-tier1-grpc-listen-addr={{ .Values.statefulset.substreamsTier1GrpcListenAddr }}" - "--substreams-tier1-subrequests-endpoint={{ .Values.statefulset.substreamsTier1SubrequestsEndpoint }}" diff --git a/charts/firehose-antelope/charts/substreams-tier1/values.yaml b/charts/firehose-antelope/charts/substreams-tier1/values.yaml index 04ee9b5..0307f63 100644 --- a/charts/firehose-antelope/charts/substreams-tier1/values.yaml +++ b/charts/firehose-antelope/charts/substreams-tier1/values.yaml @@ -21,11 +21,7 @@ statefulset: commonAuthPlugin: null:// commonLiveBlocksAddr: dns:///relayer:9000 commonSystemShutdownSignalDelay: 30s - commonMergedBlocksStoreUrl: "" - commonOneBlockStoreUrl: "" - commonForkedBlocksStoreUrl: "" substreamsStateBundleSize: 1000 - substreamsStateStoreUrl: "/firehose-data/localdata" substreamsStateStoreDefaultTag: "" substreamsTier1GrpcListenAddr: :9000 substreamsTier1SubrequestsEndpoint: dns:///substreams-tier2:9000 @@ -61,6 +57,7 @@ localVolume: service: labels: monitoring: "true" + monitor: prometheus type: ClusterIP ports: - protocol: TCP diff --git a/charts/firehose-antelope/charts/substreams-tier2/Chart.yaml b/charts/firehose-antelope/charts/substreams-tier2/Chart.yaml index b3f82f0..40e41a5 100644 --- a/charts/firehose-antelope/charts/substreams-tier2/Chart.yaml +++ b/charts/firehose-antelope/charts/substreams-tier2/Chart.yaml @@ -3,4 +3,4 @@ appVersion: v1.3.2-1.0.2 description: A Helm chart for substreams-tier2 name: substreams-tier2 type: application -version: 0.1.0 +version: 0.1.1 diff --git a/charts/firehose-antelope/charts/substreams-tier2/templates/statefulset.yaml b/charts/firehose-antelope/charts/substreams-tier2/templates/statefulset.yaml index 37b400b..935dbe6 100644 --- a/charts/firehose-antelope/charts/substreams-tier2/templates/statefulset.yaml +++ b/charts/firehose-antelope/charts/substreams-tier2/templates/statefulset.yaml @@ -23,8 +23,8 @@ spec: serviceAccountName: "{{ .Values.statefulset.serviceAccountName }}" containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} + image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.firehoseTag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.global.image.pullPolicy }} command: - "/app/fireantelope" - "start" @@ -33,11 +33,11 @@ spec: - "--log-format=stackdriver" - "--log-to-file=false" - "--common-system-shutdown-signal-delay={{ .Values.statefulset.commonSystemShutdownSignalDelay }}" - - "--common-merged-blocks-store-url={{ .Values.statefulset.commonMergedBlocksStoreUrl }}" - - "--common-one-block-store-url={{ .Values.statefulset.commonOneBlockStoreUrl }}" - - "--common-forked-blocks-store-url={{ .Values.statefulset.commonForkedBlocksStoreUrl }}" + - "--common-merged-blocks-store-url={{ .Values.global.store.commonMergedBlocksStoreUrl }}" + - "--common-one-block-store-url={{ .Values.global.store.commonOneBlockStoreUrl }}" + - "--common-forked-blocks-store-url={{ .Values.global.store.commonForkedBlocksStoreUrl }}" - "--substreams-state-bundle-size={{ .Values.statefulset.substreamsStateBundleSize }}" - - "--substreams-state-store-url={{ .Values.statefulset.substreamsStateStoreUrl }}" + - "--substreams-state-store-url={{ .Values.global.store.substreamsStateStoreUrl }}" - "--substreams-state-store-default-tag={{ .Values.statefulset.substreamsStateStoreDefaultTag }}" - "--substreams-tier2-grpc-listen-addr={{ .Values.statefulset.substreamsTier2GrpcListenAddr }}" - "--substreams-tier2-discovery-service-url={{ .Values.statefulset.substreamsTier2DiscoveryDerviceUrl }}" diff --git a/charts/firehose-antelope/charts/substreams-tier2/values.yaml b/charts/firehose-antelope/charts/substreams-tier2/values.yaml index c17422d..0287395 100644 --- a/charts/firehose-antelope/charts/substreams-tier2/values.yaml +++ b/charts/firehose-antelope/charts/substreams-tier2/values.yaml @@ -19,11 +19,7 @@ statefulset: serviceAccountName: "" # commands commonSystemShutdownSignalDelay: 30s - commonMergedBlocksStoreUrl: "" - commonOneBlockStoreUrl: "" - commonForkedBlocksStoreUrl: "" substreamsStateBundleSize: 1000 - substreamsStateStoreUrl: "/firehose-data/localdata" substreamsStateStoreDefaultTag: "" substreamsTier2GrpcListenAddr: :9000 substreamsTier2DiscoveryDerviceUrl: "" @@ -56,6 +52,7 @@ localVolume: service: labels: monitoring: "true" + monitor: prometheus type: ClusterIP ports: - protocol: TCP diff --git a/charts/firehose-antelope/values.yaml b/charts/firehose-antelope/values.yaml index a33e21e..9ac00ff 100644 --- a/charts/firehose-antelope/values.yaml +++ b/charts/firehose-antelope/values.yaml @@ -1,3 +1,16 @@ +global: + image: + repository: quay.io/ultra.io/firehose-antelope + pullPolicy: IfNotPresent + firehoseTag: v1.4.1-1.0.2 + nodeosTag: v1.4.1-1.0.2-nodeos5.0.2-3.0.0 + nodeos: + apis: [] + store: + commonOneBlockStoreUrl: "" + commonMergedBlocksStoreUrl: "" + commonForkedBlocksStoreUrl: "" + substreamsStateStoreUrl: "/firehose-data/localdata" serviceMonitor: enabled: false name: "" diff --git a/charts/producer/Chart.yaml b/charts/producer/Chart.yaml index 8be8e05..3ff304b 100644 --- a/charts/producer/Chart.yaml +++ b/charts/producer/Chart.yaml @@ -3,4 +3,4 @@ appVersion: 0.1.0 description: A Helm chart for producer name: producer type: application -version: 0.1.0 +version: 0.1.1 diff --git a/charts/producer/templates/statefulset.yaml b/charts/producer/templates/statefulset.yaml index e8bd105..133d141 100644 --- a/charts/producer/templates/statefulset.yaml +++ b/charts/producer/templates/statefulset.yaml @@ -7,7 +7,6 @@ metadata: annotations: reloader.stakater.com/search: "true" spec: - restartPolicy: OnFailure replicas: {{ .Values.replicaCount }} selector: matchLabels: diff --git a/local-test-values.yaml b/local-test-values.yaml index 1f29941..b90b8ef 100644 --- a/local-test-values.yaml +++ b/local-test-values.yaml @@ -1,82 +1,56 @@ # Enabled Persistent volume to replace cloud storage for substreams data persistentVolumeEnabled: true +global: + image: + repository: quay.io/ultra.io/firehose-antelope + pullPolicy: IfNotPresent + firehoseTag: v1.4.1-1.0.2 + nodeosTag: v1.4.1-1.0.2-nodeos5.0.2-3.0.0 + nodeos: + apis: + - producer-0.producer.default.svc.cluster.local:9876 + genesis_json: |- + { + "initial_timestamp": "2018-09-01T12:00:00.000", + "initial_key": "EOS7qBcTsKhCfUeGpn15JTtwrjEnZfXzeCDLnF1LtKr6xnMAr4b5k", + "initial_configuration": { + "max_block_net_usage": 1048576, + "target_block_net_usage_pct": 1000, + "max_transaction_net_usage": 524288, + "base_per_transaction_net_usage": 12, + "net_usage_leeway": 500, + "context_free_discount_net_usage_num": 20, + "context_free_discount_net_usage_den": 100, + "max_block_cpu_usage": 400000, + "target_block_cpu_usage_pct": 1000, + "max_transaction_cpu_usage": 300000, + "min_transaction_cpu_usage": 100, + "ultra_veto_enabled": 1, + "max_transaction_lifetime": 3600, + "deferred_trx_expiration_window": 600, + "max_transaction_delay": 3888000, + "max_inline_action_size": 524287, + "max_inline_action_depth": 10, + "max_authority_depth": 10 + } + } + store: + commonOneBlockStoreUrl: "file:///storage/one-blocks" + commonMergedBlocksStoreUrl: "file:///storage/merged-blocks" + commonForkedBlocksStoreUrl: "file:///storage/forked-blocks" + substreamsStateStoreUrl: "file:///storage/state-store" + reader-node: replicaCount: 1 statefulset: - commonOneBlockStoreUrl: "file:///storage/one-blocks" persistentVolumeClaimEnabled: false # enabled local storage to replace gloud storage localVolume: enabled: true - configmap: - config: - # Update p2p-peer-address with producer cluster DNS/IP - config.ini: | - http-server-address = 0.0.0.0:8888 - p2p-server-address = 0.0.0.0:9877 - p2p-max-nodes-per-host = 2 - connection-cleanup-period = 60 - verbose-http-errors = true - chain-state-db-size-mb = 64000 - http-validate-host = false - max-transaction-time = 5000 - abi-serializer-max-time-ms = 500000 - - plugin = eosio::net_api_plugin - plugin = eosio::chain_api_plugin - plugin = eosio::db_size_api_plugin - plugin = eosio::producer_api_plugin - - # Max speed for replay - validation-mode = light - - # Enable deep mind - deep-mind = true - agent-name = reader-node - - wasm-runtime = eos-vm-jit - eos-vm-oc-enable = true - eos-vm-oc-compile-threads = 4 - contracts-console = true - read-mode = head - p2p-accept-transactions = false - api-accept-transactions = false - - http-threads = 2 - p2p-peer-address = producer-0.producer.default.svc.cluster.local:9876 - # This is required since ultratest use a different genesis file than Ultra's deployemnt - genesis.json: | - { - "initial_timestamp": "2018-09-01T12:00:00.000", - "initial_key": "EOS7qBcTsKhCfUeGpn15JTtwrjEnZfXzeCDLnF1LtKr6xnMAr4b5k", - "initial_configuration": { - "max_block_net_usage": 1048576, - "target_block_net_usage_pct": 1000, - "max_transaction_net_usage": 524288, - "base_per_transaction_net_usage": 12, - "net_usage_leeway": 500, - "context_free_discount_net_usage_num": 20, - "context_free_discount_net_usage_den": 100, - "max_block_cpu_usage": 400000, - "target_block_cpu_usage_pct": 1000, - "max_transaction_cpu_usage": 300000, - "min_transaction_cpu_usage": 100, - "ultra_veto_enabled": 1, - "max_transaction_lifetime": 3600, - "deferred_trx_expiration_window": 600, - "max_transaction_delay": 3888000, - "max_inline_action_size": 524287, - "max_inline_action_depth": 10, - "max_authority_depth": 10 - } - } merger: replicaCount: 1 - statefulset: - commonOneBlockStoreUrl: "file:///storage/one-blocks" - commonMergedBlocksStoreUrl: "file:///storage/merged-blocks" - commonForkedBlocksStoreUrl: "file:///storage/forked-blocks" + statefulset: persistentVolumeClaimEnabled: false # enabled local storage to replace gloud storage localVolume: @@ -84,37 +58,22 @@ merger: relayer: replicaCount: 1 deployment: - commonOneBlockStoreUrl: "file:///storage/one-blocks" relayerSource2: "" # enabled local storage to replace gloud storage localVolume: enabled: true substreams-tier1: - replicaCount: 1 - statefulset: - commonOneBlockStoreUrl: "file:///storage/one-blocks" - commonMergedBlocksStoreUrl: "file:///storage/merged-blocks" - commonForkedBlocksStoreUrl: "file:///storage/forked-blocks" - substreamsStateStoreUrl: "file:///storage/state-store" + replicaCount: 1 # enabled local storage to replace gloud storage localVolume: enabled: true substreams-tier2: replicaCount: 1 - statefulset: - commonOneBlockStoreUrl: "file:///storage/one-blocks" - commonMergedBlocksStoreUrl: "file:///storage/merged-blocks" - commonForkedBlocksStoreUrl: "file:///storage/forked-blocks" - substreamsStateStoreUrl: "file:///storage/state-store" # enabled local storage to replace gloud storage localVolume: enabled: true firehose: replicaCount: 1 - statefulset: - commonOneBlockStoreUrl: "file:///storage/one-blocks" - commonMergedBlocksStoreUrl: "file:///storage/merged-blocks" - commonForkedBlocksStoreUrl: "file:///storage/forked-blocks" # enabled local storage to replace gloud storage localVolume: enabled: true