You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a breaking change and will require a re-sync, the good news is initial syncs are faster.
Erigon v3 also defaults to using internal CL when available (Caplin), and that's recommended.
Erigon v2 is officially discontinued and is not supported for Pectra, so everyone is advised to upgrade ahead of time (Pectra upgrade is scheduled for end of April)
| datasource | package | from | to |
| ---------- | ----------------- | ------- | ------ |
| docker | erigontech/erigon | v2.61.3 | v3.0.0 |
---------
Co-authored-by: graphops-renovate[bot] <135047802+graphops-renovate[bot]@users.noreply.github.com>
Co-authored-by: Carlos Jorge <carlos@graphops.xyz>
@@ -160,6 +160,16 @@ We do not recommend that you upgrade the application by overriding `image.tag`.
160
160
| serviceAccount.name | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | string | `""` |
161
161
| statefulNode.affinity | | object | `{}` |
162
162
| statefulNode.affinityPresets.antiAffinityByHostname | Configure anti-affinity rules to prevent multiple Erigon instances on the same host | bool | `true` |
163
+
| statefulNode.beaconApi | Beacon API configuration for erigon3 | object | `{"addr":"0.0.0.0","api":"beacon,builder,config,debug,events,node,lighthouse","blobsArchive":true,"blobsNoPruning":true,"blocksArchive":true,"corsAllowMethods":"*","corsAllowOrigins":"*","enabled":true,"port":5555}` |
164
+
| statefulNode.beaconApi.addr | Beacon API address to bind to | string | `"0.0.0.0"` |
165
+
| statefulNode.beaconApi.api | Comma-separated list of API namespaces to enable | string | `"beacon,builder,config,debug,events,node,lighthouse"` |
| statefulNode.pruneMode | Sets the pruning mode to use (archive, validator, full) | string | `"archive"` |
182
193
| statefulNode.readinessProbe | Sets a readinessProbe configuration for the container | object | `{}` |
183
194
| statefulNode.resources | | object | `{}` |
184
-
| statefulNode.restoreSnapshot.enabled | Enable initialising Erigon state from a remote snapshot | bool | `false` |
185
-
| statefulNode.restoreSnapshot.snapshotUrl | URL for snapshot to download and extract to restore state | string | `""` |
186
195
| statefulNode.rollingUpdatePartition | When using a RollingUpdate update strategy in the StatefulSet, sets a partition index to only update PODs with that index or higher | int | `0` |
187
196
| statefulNode.service.ports.grpc-erigon | Service Port to expose Erigon GRPC interface on | int | `9090` |
197
+
| statefulNode.service.ports.http-beaconapi | Service Port to expose Beacon API interface on | int | `5555` |
188
198
| statefulNode.service.ports.http-engineapi | Service Port to expose engineAPI interface on | int | `8551` |
189
199
| statefulNode.service.ports.http-jsonrpc | Service Port to expose JSON-RPC interface on | int | `8545` |
190
200
| statefulNode.service.ports.http-metrics | Service Port to expose Prometheus metrics on | int | `6060` |
@@ -13,15 +13,14 @@ Deploy and scale [Erigon3](https://github.com/ledgerwatch/erigon) inside Kuberne
13
13
- Support for `ServiceMonitor`s to configure Prometheus to scrape metrics ([prometheus-operator](https://github.com/prometheus-operator/prometheus-operator))
14
14
- Support for configuring Grafana dashboards for Erigon ([grafana](https://github.com/grafana/helm-charts/tree/main/charts/grafana))
15
15
- Support for exposing a NodePort to enable inbound P2P dials for better peering
16
-
- Support for Beacon API with configurable options for blocks and blobs archiving
17
16
18
17
## Quickstart
19
18
20
19
To install the chart with the release name `my-release`:
Once the release is installed, Erigon will begin syncing. You can use `kubectl logs` to monitor the sync status. See the Values section to install Prometheus `ServiceMonitor`s and a Grafana dashboard.
@@ -89,6 +88,24 @@ statefulNode:
89
88
port: 31000 # Must be globally unique and available on the host
90
89
```
91
90
91
+
## Restoring chaindata from a snapshot
92
+
93
+
You can specify a snapshot URL that will be used to restore Erigon's `chaindata` state. When enabled, an init container will perform a streaming extraction of the snapshot into storage. The snapshot should be a gzipped tarball of `chaindata`.
Once Erigon's state has been restored, the snapshot URL will be saved to storage at `/from_snapshot`. Any time the Erigon Pod starts, as long as the snapshot configuration has not changed, Erigon will boot with the existing state. If you modify the snapshot configuration, the init container will remove existing chaindata and restore state again.
106
+
107
+
You can monitor progress by following the logs of the `stateful-node-init` container: `kubectl logs --since 1m -f release-name-stateful-node-0 -c stateful-node-init`
108
+
92
109
## Upgrading
93
110
94
111
We recommend that you pin the version of the Chart that you deploy. You can use the `--version` flag with `helm install` and `helm upgrade` to specify a chart version constraint.
@@ -130,7 +147,7 @@ We do not recommend that you upgrade the application by overriding `image.tag`.
130
147
| rpcdaemon.extraLabels | Extra labels to attach to the Pod for matching against | object | `{}` |
131
148
| rpcdaemon.nodeSelector | | object | `{}` |
132
149
| rpcdaemon.podAnnotations | Annotations for the `Pod` | object | `{}` |
| rpcdaemon.replicaCount | Number of replicas to run | int | `2` |
135
152
| rpcdaemon.resources.limits | | object | `{}` |
136
153
| rpcdaemon.resources.requests | Requests must be specified if you are using autoscaling | object | `{"cpu":"500m","memory":"4Gi"}` |
@@ -143,17 +160,6 @@ We do not recommend that you upgrade the application by overriding `image.tag`.
143
160
| serviceAccount.name | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | string | `""` |
144
161
| statefulNode.affinity | | object | `{}` |
145
162
| statefulNode.affinityPresets.antiAffinityByHostname | Configure anti-affinity rules to prevent multiple Erigon instances on the same host | bool | `true` |
146
-
| statefulNode.beaconApi | Beacon API configuration for erigon3 | object | `{"addr":"0.0.0.0","api":"beacon,builder,config,debug,events,node,lighthouse","blobsArchive":true,"blobsNoPruning":true,"blocksArchive":true,"corsAllowMethods":"*","corsAllowOrigins":"*","enabled":false,"port":5555}` |
147
-
| statefulNode.beaconApi.addr | Beacon API address to bind to | string | `"0.0.0.0"` |
148
-
| statefulNode.beaconApi.api | Comma-separated list of API namespaces to enable | string | `"beacon,builder,config,debug,events,node,lighthouse"` |
| statefulNode.readinessProbe | Sets a readinessProbe configuration for the container | object | `{}` |
177
182
| statefulNode.resources | | object | `{}` |
183
+
| statefulNode.restoreSnapshot.enabled | Enable initialising Erigon state from a remote snapshot | bool | `false` |
184
+
| statefulNode.restoreSnapshot.snapshotUrl | URL for snapshot to download and extract to restore state | string | `""` |
178
185
| statefulNode.rollingUpdatePartition | When using a RollingUpdate update strategy in the StatefulSet, sets a partition index to only update PODs with that index or higher | int | `0` |
179
186
| statefulNode.service.ports.grpc-erigon | Service Port to expose Erigon GRPC interface on | int | `9090` |
180
-
| statefulNode.service.ports.http-beaconapi | Service Port to expose Beacon API interface on | int | `5555` |
181
187
| statefulNode.service.ports.http-engineapi | Service Port to expose engineAPI interface on | int | `8551` |
182
188
| statefulNode.service.ports.http-jsonrpc | Service Port to expose JSON-RPC interface on | int | `8545` |
183
189
| statefulNode.service.ports.http-metrics | Service Port to expose Prometheus metrics on | int | `6060` |
184
190
| statefulNode.service.ports.ws-rpc | Service Port to expose WS-RPC interface on | int | `8546` |
191
+
<<<<<<< HEAD
185
192
| statefulNode.service.publishNotReadyAddresses.headless | Toggle publishing not ready addresses for headless service | bool | `false` |
186
193
| statefulNode.service.publishNotReadyAddresses.p2p | Toggle publishing not ready addresses for p2p service | bool | `false` |
0 commit comments