prysm
by ethPandaOps
Helm chartv1.2.5Verified publisher
An open-source Ethereum 2.0 client, written in Go
About this chart
prysm
An open-source Ethereum 2.0 client, written in Go
Homepage: https://docs.prylabs.network/docs/getting-started/
Source Code
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity configuration for pods |
| annotations | object | {} | Annotations for the StatefulSet |
| checkpointSync | object | {"enabled":false,"url":""} | Checkpoint Sync |
| containerSecurityContext | object | See values.yaml | The security context for containers |
| customCommand | list | [] | Legacy way of overwriting the default command. You may prefer to change defaultCommandTemplates instead. |
| defaultBeaconCommandTemplate | string | See values.yaml | Template used for the default beacon command |
| defaultValidatorCommandTemplate | string | See values.yaml | Template used for the default validator command |
| devnet | object | {"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/deploy_block.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.baseUrl | string | "https://raw.githubusercontent.com/ethpandaops/fusaka-devnets/master/network-configs" | Base URL for devnet configuration files |
| devnet.enabled | bool | false | Enable devnet mode |
| devnet.initContainer | list | [{"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/deploy_block.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.name | string | "devnet-3" | Devnet name (e.g., devnet-3) |
| devnet.urls | object | {"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.bootstrapNodesTxt | string | "{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/bootstrap_nodes.txt" | Bootstrap nodes TXT URL |
| devnet.urls.bootstrapNodesYaml | string | "{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/bootstrap_nodes.yaml" | Bootstrap nodes YAML URL |
| devnet.urls.configYaml | string | "{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/config.yaml" | Chain config YAML URL |
| devnet.urls.depositContractBlock | string | "{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/deposit_contract_block.txt" | Deposit contract block number URL |
| devnet.urls.genesisSsz | string | "{{ .Values.devnet.baseUrl }}/{{ .Values.devnet.name }}/metadata/genesis.ssz" | Genesis state SSZ URL |
| existingJwtSecret | string | "" | 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. |
| extraArgs | list | [] | Extra args for the prysm container |
| extraContainers | list | [] | Additional containers |
| extraEnv | list | [] | Additional env variables |
| extraPorts | list | [] | Additional ports. Useful when using extraContainers |
| extraVolumeMounts | list | [] | Additional volume mounts |
| extraVolumes | list | [] | Additional volumes |
| fullnameOverride | string | "" | Overrides the chart's computed fullname |
| httpPort | int | 3500 | HTTP Port |
| image.pullPolicy | string | "IfNotPresent" | Prysm container pull policy |
| image.repository | string | "gcr.io/prysmaticlabs/prysm/beacon-chain" | Prysm container image repository Multi-Arch (arm64/amd64) image Official image |
| image.tag | string | "stable" | |
| imagePullSecrets | list | [] | Image pull secrets for Docker images |
| ingress.annotations | object | {} | Annotations for Ingress |
| ingress.enabled | bool | false | Ingress resource for the HTTP API |
| ingress.hosts[0].host | string | "chart-example.local" | |
| ingress.hosts[0].paths | list | [] | |
| ingress.tls | list | [] | Ingress TLS |
| initChownData.enabled | bool | true | Init container to set the correct permissions to access data directories |
| initChownData.image.pullPolicy | string | "IfNotPresent" | Container pull policy |
| initChownData.image.repository | string | "busybox" | Container repository |
| initChownData.image.tag | string | "1.34.0" | Container tag |
| initChownData.resources | object | {} | Resource requests and limits |
| initContainers | list | [] | Additional init containers |
| jwt | string | "ecb22bc24e7d4061f7ed690ccd5846d7d73f5d2b9733267e12f56790398d908a" | JWT secret used by client as a secret. Change this value. |
| livenessProbe | object | See values.yaml | Liveness probe |
| metricsPort | int | 8080 | Metrics Port |
| mode | string | "beacon" | Mode can be 'beacon' or 'validator' |
| nameOverride | string | "" | Overrides the chart's name |
| nodeSelector | object | {} | Node selector for pods |
| p2pNodePort.enabled | bool | false | Expose P2P port via NodePort |
| p2pNodePort.initContainer.image.pullPolicy | string | "IfNotPresent" | Container pull policy |
| p2pNodePort.initContainer.image.repository | string | "lachlanevenson/k8s-kubectl" | Container image to fetch nodeport information |
| p2pNodePort.initContainer.image.tag | string | "v1.25.4" | Container tag |
| p2pNodePort.port | int | 31000 | NodePort to be used |
| p2pPort | int | 13000 | P2P Port |
| persistence.accessModes | list | ["ReadWriteOnce"] | Access mode for the volume claim template |
| persistence.annotations | object | {} | Annotations for volume claim template |
| persistence.enabled | bool | false | Uses an EmptyDir when not enabled |
| persistence.existingClaim | string | nil | Use an existing PVC when persistence.enabled |
| persistence.selector | object | {} | Selector for volume claim template |
| persistence.size | string | "20Gi" | Requested size for volume claim template |
| persistence.storageClassName | string | nil | Use a specific storage class E.g 'local-path' for local storage to achieve best performance Read more (https://github.com/rancher/local-path-provisioner) |
| persistentVolumeClaimRetentionPolicy | object | {} | 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 |
| podAnnotations | object | {} | Pod annotations |
| podDisruptionBudget | object | {} | Define the PodDisruptionBudget spec If not set then a PodDisruptionBudget will not be created |
| podLabels | object | {} | Pod labels |
| podManagementPolicy | string | "OrderedReady" | Pod management policy |
| priorityClassName | string | nil | Pod priority class |
| rbac.clusterRules | list | See values.yaml | Required ClusterRole rules |
| rbac.create | bool | true | Specifies whether RBAC resources are to be created |
| rbac.rules | list | See values.yaml | Required ClusterRole rules |
| readinessProbe | object | See values.yaml | Readiness probe |
| replicas | int | 1 | Number of replicas |
| resources | object | {} | Resource requests and limits |
| rpcPort | int | 4000 | RPC Port |
| secretEnv | object | {} | Additional env variables injected via a created secret |
| securityContext | object | See values.yaml | The security context for pods |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.create | bool | true | Specifies whether a service account should be created |
| serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| serviceMonitor.annotations | object | {} | Additional ServiceMonitor annotations |
| serviceMonitor.enabled | bool | false | If true, a ServiceMonitor CRD is created for a prometheus operator https://github.com/coreos/prometheus-operator |
| serviceMonitor.interval | string | "1m" | ServiceMonitor scrape interval |
| serviceMonitor.labels | object | {} | Additional ServiceMonitor labels |
| serviceMonitor.namespace | string | nil | Alternative namespace for ServiceMonitor |
| serviceMonitor.path | string | "/metrics" | Path to scrape |
| serviceMonitor.relabelings | list | [] | ServiceMonitor relabelings |
| serviceMonitor.scheme | string | "http" | ServiceMonitor scheme |
| serviceMonitor.scrapeTimeout | string | "30s" | ServiceMonitor scrape timeout |
| serviceMonitor.tlsConfig | object | {} | ServiceMonitor TLS configuration |
| terminationGracePeriodSeconds | int | 300 | How long to wait until the pod is forcefully terminated |
| tolerations | list | [] | Tolerations for pods |
| topologySpreadConstraints | list | [] | Topology Spread Constraints for pods |
| updateStrategy | object | {"type":"RollingUpdate"} | Update strategy for the Statefulset |
| updateStrategy.type | string | "RollingUpdate" | Update strategy type |
| validatorLivenessProbe | object | See values.yaml | Validator Liveness probe |
| validatorReadinessProbe | object | See values.yaml | Validator Readiness probe |
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 Holesky via Infura
mode: "beacon"
extraArgs:
- --holesky
- --execution-endpoint=<EXECUTION-ENDPOINT>
Exposing the P2P service via NodePort
Thi
Deploy prysm with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has prysm 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartprysm is pinned at v1.2.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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