Skip to content

Commit

Permalink
[BLOCK-2358] improve substreams chart (#14)
Browse files Browse the repository at this point in the history
* [BLOCK-2358] improve substreams chart
  • Loading branch information
Duncan-Ultra authored Jul 16, 2024
1 parent 43ad631 commit 7ed9f5d
Show file tree
Hide file tree
Showing 24 changed files with 445 additions and 474 deletions.
14 changes: 7 additions & 7 deletions charts/firehose-antelope/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion charts/firehose-antelope/charts/firehose/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 }}
Expand Down
4 changes: 1 addition & 3 deletions charts/firehose-antelope/charts/firehose/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ statefulset:
commonAuthPlugin: null://
commonLiveBlocksAddr: dns:///relayer:9000
commonSystemShutdownSignalDelay: 30s
commonMergedBlocksStoreUrl: ""
commonOneBlockStoreUrl: ""
commonForkedBlocksStoreUrl: ""
firehoseGrpcListenAddr: :9000
extraCommands: []
# ports
Expand Down Expand Up @@ -54,6 +51,7 @@ localVolume:
service:
labels:
monitoring: "true"
monitor: prometheus
type: ClusterIP
ports:
- protocol: TCP
Expand Down
2 changes: 1 addition & 1 deletion charts/firehose-antelope/charts/merger/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ 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"
- "merger"
- "--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 }}"
Expand Down
4 changes: 1 addition & 3 deletions charts/firehose-antelope/charts/merger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ statefulset:
enabled: true
serviceAccountName: ""
# commands
commonMergedBlocksStoreUrl: ""
commonOneBlockStoreUrl: ""
commonForkedBlocksStoreUrl: ""
mergerGrpcListenAddr: :9000
mergerPruneForkedBlocksAfter: 2000
mergerStopBlock: 0
Expand Down Expand Up @@ -60,6 +57,7 @@ localVolume:
service:
labels:
monitoring: "true"
monitor: prometheus
type: ClusterIP
ports:
- protocol: TCP
Expand Down
2 changes: 1 addition & 1 deletion charts/firehose-antelope/charts/reader-node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading

0 comments on commit 7ed9f5d

Please sign in to comment.