Skip to content

Commit

Permalink
Merge pull request #188 from ethersphere/nethermind-engine
Browse files Browse the repository at this point in the history
  • Loading branch information
vandot authored Aug 31, 2022
2 parents 9cdfce7 + 643e7d1 commit 2dd111e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
4 changes: 2 additions & 2 deletions charts/nethermind/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: nethermind
description: A Helm chart for Ethereum Nethermind client
type: application
version: 0.1.2
version: 0.2.0
icon: https://github.com/NethermindEth/nethermind/raw/master/Nethermind.png
keywords:
- ethereum
Expand All @@ -11,7 +11,7 @@ home: https://nethermind.io/
sources:
- https://github.com/NethermindEth/nethermind
maintainers:
- name: Ivan Vandot
- name: vandot
email: [email protected]

appVersion: latest
4 changes: 4 additions & 0 deletions charts/nethermind/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ spec:
targetPort: http
protocol: TCP
name: http
- port: {{ .Values.service.engine }}
targetPort: engine
protocol: TCP
name: engine
- port: {{ .Values.service.prometheus }}
targetPort: prometheus
protocol: TCP
Expand Down
3 changes: 3 additions & 0 deletions charts/nethermind/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ spec:
- name: http
containerPort: {{ .Values.container.ports.http }}
protocol: TCP
- name: engine
containerPort: {{ .Values.container.ports.engine }}
protocol: TCP
- name: prometheus
containerPort: {{ .Values.container.ports.prometheus }}
protocol: TCP
Expand Down
2 changes: 1 addition & 1 deletion charts/nethermind/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ spec:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "nethermind.fullname" . }}:{{ .Values.service.port }}']
args: ['{{ include "nethermind.fullname" . }}:{{ .Values.service.http }}']
restartPolicy: Never
14 changes: 8 additions & 6 deletions charts/nethermind/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ image:
repository: nethermind/nethermind
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "1.10.79"
tag: "1.14.0"
args: [
"--config",
"--config",
"mainnet"]

imagePullSecrets: []
Expand All @@ -26,20 +26,20 @@ volumes:
persistence:
enabled: true
annotations: {}
accessModes:
accessModes:
- ReadWriteOnce
size: 20Gi # For mainnet must increase
size: 20Gi # For mainnet must increase

## A manually managed Persistent Volume and Claim
## If defined, PVC must be created manually before volume will be bound
## The value is evaluated as a template, so, for example, the name can depend on .Release or .Chart
##
##
# existingClaim:

## An existing directory in the node
## If defined, host directory must be created manually before volume will be bound
## See https://kubernetes.io/docs/concepts/storage/volumes/#hostpath
##
##
# hostPath:
# path: /nethermind/nethermind_db
# type: Directory
Expand All @@ -62,13 +62,15 @@ securityContext: {}
container:
ports:
http: 8545
engine: 8551
listener: 30303
discovery: 30303
prometheus: 9091

service:
type: ClusterIP
http: 8545
engine: 8551
prometheus: 9091

serviceP2P:
Expand Down

0 comments on commit 2dd111e

Please sign in to comment.