nimbus

by ethPandaOps

Helm chartv1.2.4Verified publisher

An open-source Ethereum consensus layer client, written in Nim

About this chart

nimbus

An open-source Ethereum consensus layer client, written in Nim

Homepage: https://nimbus.guide/

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}Affinity configuration for pods
annotationsobject{}Annotations for the StatefulSet
checkpointSyncobject{"enabled":false,"network":"","url":""}Checkpoint Sync
containerSecurityContextobjectSee values.yamlThe security context for containers
customCommandlist[]Legacy way of overwriting the default command. You may prefer to change defaultCommandTemplate instead.
defaultBinaryPathstring"/home/user/nimbus-eth2/build/nimbus_beacon_node"Path within the container to the beacon node binary
defaultCommandTemplatestringSee values.yamlTemplate used for the default command
devnetobject{"baseUrl":"https://raw.githubusercontent.com/ethpandaops/fusaka-devnets/master/network-configs","enabled":false,"initContainer":[{"command":["sh","-ac","mkdir -p /data/testnet_spec;\nif [ ! -f /data/testnet_spec/genesis.ssz ]; then\n echo \"Downloading devnet configuration files...\";\n\n echo \"Downloading deposit_contract_block.txt from {{ tpl .Values.devnet.urls.depositContractBlock . }}\"\n wget -O /data/testnet_spec/deposit_contract_block.txt \"{{ tpl .Values.devnet.urls.depositContractBlock . }}\"\n\n cp /data/testnet_spec/deposit_contract_block.txt /data/testnet_spec/deposit_contract.txt\n\n echo \"Downloading config.yaml from {{ tpl .Values.devnet.urls.configYaml . }}\"\n wget -O /data/testnet_spec/config.yaml \"{{ tpl .Values.devnet.urls.configYaml . }}\"\n\n echo \"Downloading genesis.ssz from {{ tpl .Values.devnet.urls.genesisSsz . }}\"\n wget -O /data/testnet_spec/genesis.ssz \"{{ tpl .Values.devnet.urls.genesisSsz . }}\"\n\n echo \"Downloading bootstrap_nodes.yaml from {{ tpl .Values.devnet.urls.bootstrapNodesYaml . }}\"\n wget -O /data/testnet_spec/bootstrap_nodes.yaml \"{{ tpl .Values.devnet.urls.bootstrapNodesYaml . }}\"\n echo \"Downloading bootstrap_nodes.txt from {{ tpl .Values.devnet.urls.bootstrapNodesTxt . }}\"\n wget -O /data/testnet_spec/bootstrap_nodes.txt \"{{ tpl .Values.devnet.urls.bootstrapNodesTxt . }}\"\n\n echo \"Devnet configuration download complete.\";\nelse\n echo \"Genesis file already exists, skipping download.\";\nfi\n"],"image":"alpine:latest","imagePullPolicy":"IfNotPresent","name":"download-devnet-config","securityContext":{"runAsNonRoot":false,"runAsUser":0},"volumeMounts":[{"mountPath":"/data","name":"storage"}]}],"name":"devnet-3","urls":{"bootstrapNodesTxt":"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/bootstrap_nodes.txt","bootstrapNodesYaml":"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/bootstrap_nodes.yaml","configYaml":"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/config.yaml","depositContractBlock":"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/deposit_contract_block.txt","genesisSsz":"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/genesis.ssz"}}Devnet configuration
devnet.baseUrlstring"https://raw.githubusercontent.com/ethpandaops/fusaka-devnets/master/network-configs"Base URL for devnet configuration files
devnet.enabledboolfalseEnable devnet mode
devnet.initContainerlist[{"command":["sh","-ac","mkdir -p /data/testnet_spec;\nif [ ! -f /data/testnet_spec/genesis.ssz ]; then\n echo \"Downloading devnet configuration files...\";\n\n echo \"Downloading deposit_contract_block.txt from {{ tpl .Values.devnet.urls.depositContractBlock . }}\"\n wget -O /data/testnet_spec/deposit_contract_block.txt \"{{ tpl .Values.devnet.urls.depositContractBlock . }}\"\n\n cp /data/testnet_spec/deposit_contract_block.txt /data/testnet_spec/deposit_contract.txt\n\n echo \"Downloading config.yaml from {{ tpl .Values.devnet.urls.configYaml . }}\"\n wget -O /data/testnet_spec/config.yaml \"{{ tpl .Values.devnet.urls.configYaml . }}\"\n\n echo \"Downloading genesis.ssz from {{ tpl .Values.devnet.urls.genesisSsz . }}\"\n wget -O /data/testnet_spec/genesis.ssz \"{{ tpl .Values.devnet.urls.genesisSsz . }}\"\n\n echo \"Downloading bootstrap_nodes.yaml from {{ tpl .Values.devnet.urls.bootstrapNodesYaml . }}\"\n wget -O /data/testnet_spec/bootstrap_nodes.yaml \"{{ tpl .Values.devnet.urls.bootstrapNodesYaml . }}\"\n echo \"Downloading bootstrap_nodes.txt from {{ tpl .Values.devnet.urls.bootstrapNodesTxt . }}\"\n wget -O /data/testnet_spec/bootstrap_nodes.txt \"{{ tpl .Values.devnet.urls.bootstrapNodesTxt . }}\"\n\n echo \"Devnet configuration download complete.\";\nelse\n echo \"Genesis file already exists, skipping download.\";\nfi\n"],"image":"alpine:latest","imagePullPolicy":"IfNotPresent","name":"download-devnet-config","securityContext":{"runAsNonRoot":false,"runAsUser":0},"volumeMounts":[{"mountPath":"/data","name":"storage"}]}]Init container configuration for downloading devnet files
devnet.namestring"devnet-3"Devnet name (e.g., devnet-3)
devnet.urlsobject{"bootstrapNodesTxt":"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/bootstrap_nodes.txt","bootstrapNodesYaml":"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/bootstrap_nodes.yaml","configYaml":"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/config.yaml","depositContractBlock":"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/deposit_contract_block.txt","genesisSsz":"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/genesis.ssz"}URLs for devnet configuration files
devnet.urls.bootstrapNodesTxtstring"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/bootstrap_nodes.txt"Bootstrap nodes TXT URL
devnet.urls.bootstrapNodesYamlstring"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/bootstrap_nodes.yaml"Bootstrap nodes YAML URL
devnet.urls.configYamlstring"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/config.yaml"Chain config YAML URL
devnet.urls.depositContractBlockstring"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/deposit_contract_block.txt"Deposit contract block number URL
devnet.urls.genesisSszstring"{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/genesis.ssz"Genesis state SSZ URL
envFromlist[]Additional sources of env variables for the main container, such as Secrets or ConfigMaps
existingJwtSecretstring""Use an existing Secret for the JWT instead of creating one (e.g. managed by an external secrets operator). The Secret must contain the key jwt.hex with the JWT secret as a hex string. When set, jwt is ignored.
extraArgslist[]Extra args for the nimbus container
extraContainerslist[]Additional containers
extraEnvlist[]Additional env variables
extraPortslist[]Additional ports. Useful when using extraContainers
extraVolumeMountslist[]Additional volume mounts
extraVolumeslist[]Additional volumes
fullnameOverridestring""Overrides the chart's computed fullname
httpPortint5052HTTP Port
image.pullPolicystring"IfNotPresent"nimbus container pull policy
image.repositorystring"statusim/nimbus-eth2"nimbus container image repository
image.tagstring"multiarch-latest"nimbus container image tag
imagePullSecretslist[]Image pull secrets for Docker images
ingress.annotationsobject{}Annotations for Ingress
ingress.enabledboolfalseIngress resource for the HTTP API
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].pathslist[]
ingress.tlslist[]Ingress TLS
initChownData.enabledbooltrueInit container to set the correct permissions to access data directories
initChownData.image.pullPolicystring"IfNotPresent"Container pull policy
initChownData.image.repositorystring"busybox"Container repository
initChownData.image.tagstring"1.34.0"Container tag
initChownData.resourcesobject{}Resource requests and limits
initContainerslistSee values.yamlAdditional init containers
jwtstring"ecb22bc24e7d4061f7ed690ccd5846d7d73f5d2b9733267e12f56790398d908a"JWT secret used by client as a secret. Change this value.
livenessProbeobjectSee values.yamlLiveness probe
metricsPortint8008Metrics Port
nameOverridestring""Overrides the chart's name
nodeSelectorobject{}Node selector for pods
p2pNodePort.enabledboolfalseExpose P2P port via NodePort
p2pNodePort.initContainer.image.pullPolicystring"IfNotPresent"Container pull policy
p2pNodePort.initContainer.image.repositorystring"lachlanevenson/k8s-kubectl"Container image to fetch nodeport information
p2pNodePort.initContainer.image.tagstring"v1.25.4"Container tag
p2pNodePort.portint31000NodePort to be used
p2pNodePort.portForwardContainer.image.pullPolicystring"IfNotPresent"Container pull policy
p2pNodePort.portForwardContainer.image.repositorystring"alpine/socat"Container image for the port forwarder
p2pNodePort.portForwardContainer.image.tagstring"latest"Container tag
p2pPortint9000P2P Port
persistence.accessModeslist["ReadWriteOnce"]Access mode for the volume claim template
persistence.annotationsobject{}Annotations for volume claim template
persistence.enabledboolfalseUses an EmptyDir when not enabled
persistence.existingClaimstringnilUse an existing PVC when persistence.enabled
persistence.selectorobject{}Selector for volume claim template
persistence.sizestring"20Gi"Requested size for volume claim template
persistence.storageClassNamestringnilUse a specific storage class E.g 'local-path' for local storage to achieve best performance Read more (https://github.com/rancher/local-path-provisioner)
persistentVolumeClaimRetentionPolicyobject{}PersistentVolumeClaim retention policy for the StatefulSet's volumeClaimTemplates (whenDeleted, whenScaled: Retain or Delete). Not rendered when empty, so Kubernetes keeps its default of retaining the PVCs. Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
podAnnotationsobject{}Pod annotations
podDisruptionBudgetobject{}Define the PodDisruptionBudget spec If not set then a PodDisruptionBudget will not be created
podLabelsobject{}Pod labels
podManagementPolicystring"OrderedReady"Pod management policy
priorityClassNamestringnilPod priority class
rbac.clusterRuleslistSee values.yamlRequired ClusterRole rules
rbac.createbooltrueSpecifies whether RBAC resources are to be created
rbac.ruleslistSee values.yamlRequired ClusterRole rules
readinessProbeobjectSee values.yamlReadiness probe
replicasint1Number of replicas
resourcesobject{}Resource requests and limits
secretEnvobject{}Additional env variables injected via a created secret
securityContextobjectSee values.yamlThe security context for pods
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
serviceMonitor.annotationsobject{}Additional ServiceMonitor annotations
serviceMonitor.enabledboolfalseIf true, a ServiceMonitor CRD is created for a prometheus operator https://github.com/coreos/prometheus-operator
serviceMonitor.intervalstring"1m"ServiceMonitor scrape interval
serviceMonitor.labelsobject{}Additional ServiceMonitor labels
serviceMonitor.namespacestringnilAlternative namespace for ServiceMonitor
serviceMonitor.pathstring"/metrics"Path to scrape
serviceMonitor.relabelingslist[]ServiceMonitor relabelings
serviceMonitor.schemestring"http"ServiceMonitor scheme
serviceMonitor.scrapeTimeoutstring"30s"ServiceMonitor scrape timeout
serviceMonitor.tlsConfigobject{}ServiceMonitor TLS configuration
terminationGracePeriodSecondsint300How long to wait until the pod is forcefully terminated
tolerationslist[]Tolerations for pods
topologySpreadConstraintslist[]Topology Spread Constraints for pods
updateStrategyobject{"type":"RollingUpdate"}Update strategy for the Statefulset
updateStrategy.typestring"RollingUpdate"Update strategy type

Examples

Using an existing JWT Secret

If the JWT secret is managed outside of Helm (e.g. by an external secrets operator such as External Secrets, Vault or Doppler), reference it instead of letting the chart create one. The Secret must contain the JWT secret as a hex string under the key jwt.hex:

existingJwtSecret: my-jwt-secret

Beacon node on the Holesky testnet connected to Hole

Deploy nimbus with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has nimbus on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartnimbus is pinned at v1.2.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply