Skip to content

Commit

Permalink
[BLOCK-2496] Add global node selector pool (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncan-Ultra authored Dec 18, 2024
1 parent b7d279a commit 35283c6
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 16 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.1.3
version: 1.1.4

dependencies:
- name: reader-node
version: 0.1.1
version: 0.1.2
repository: file://charts/reader-node
- name: merger
version: 0.1.1
version: 0.1.2
repository: file://charts/merger
- name: relayer
version: 0.1.1
version: 0.1.2
repository: file://charts/relayer
- name: substreams-tier1
version: 0.1.2
version: 0.1.3
repository: file://charts/substreams-tier1
- name: substreams-tier2
version: 0.1.1
version: 0.1.2
repository: file://charts/substreams-tier2
- name: firehose
version: 0.1.1
version: 0.1.2
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.1
version: 0.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,7 @@ spec:
volumes:
{{- toYaml .Values.localVolume.volume | nindent 8 }}
{{- end }}
nodeSelector:
role: application
pool: {{ .Values.global.nodePool }}
{{- end }}
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.1
version: 0.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ spec:
volumes:
{{- toYaml .Values.localVolume.volume | nindent 8 }}
{{- end }}
nodeSelector:
role: application
pool: {{ .Values.global.nodePool }}
{{- if .Values.statefulset.persistentVolumeClaimEnabled }}
volumeClaimTemplates:
- apiVersion: v1
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.1
version: 0.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ spec:
{{- if .Values.localVolume.enabled }}
{{- toYaml .Values.localVolume.volume | nindent 8 }}
{{- end }}
nodeSelector:
role: application
pool: {{ .Values.global.nodePool }}
{{- if .Values.statefulset.persistentVolumeClaimEnabled }}
volumeClaimTemplates:
- apiVersion: v1
Expand Down
2 changes: 1 addition & 1 deletion charts/firehose-antelope/charts/relayer/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 relayer
name: relayer
type: application
version: 0.1.1
version: 0.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,8 @@ spec:
volumes:
{{- toYaml .Values.localVolume.volume | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
pool: {{ .Values.global.nodePool }}
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
Expand Down
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 substreams-tier1
name: substreams-tier1
type: application
version: 0.1.2
version: 0.1.3
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,7 @@ spec:
volumes:
{{- toYaml .Values.localVolume.volume | nindent 8 }}
{{- end }}
nodeSelector:
role: application
pool: {{ .Values.global.nodePool }}
{{- end }}
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 substreams-tier2
name: substreams-tier2
type: application
version: 0.1.1
version: 0.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,7 @@ spec:
volumes:
{{- toYaml .Values.localVolume.volume | nindent 8 }}
{{- end }}
nodeSelector:
role: application
pool: {{ .Values.global.nodePool }}
{{- end }}
1 change: 1 addition & 0 deletions charts/firehose-antelope/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ global:
commonMergedBlocksStoreUrl: ""
commonForkedBlocksStoreUrl: ""
substreamsStateStoreUrl: "/firehose-data/localdata"
nodePool: e2-standard-8
serviceMonitor:
enabled: false
name: ""
Expand Down

0 comments on commit 35283c6

Please sign in to comment.