light-beaconchain-explorer
by ethPandaOps
A Beaconchain explorer is a tool that allows users to view and interact with the data on the Ethereum Beacon Chain. It is similar to a blockchain explorer, which allows users to view data on a blockchain such as the current state of transactions and blocks - but focussed on exploring the beaconchain.
About this chart
light-beaconchain-explorer
A Beaconchain explorer is a tool that allows users to view and interact with the data on the Ethereum Beacon Chain. It is similar to a blockchain explorer, which allows users to view data on a blockchain such as the current state of transactions and blocks - but focussed on exploring the beaconchain.
Homepage: https://github.com/pk910/light-beaconchain-explorer
Requirements
| Repository | Name | Version |
|---|---|---|
| https://charts.bitnami.com/bitnami | postgresql | 12.x.x |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity configuration for pods |
| annotations | object | {} | Annotations for the StatefulSet |
| config | string | See values.yaml | Config file |
| configPath | string | "" | Path to the network config file -- This can be a url or a local path -- "https://config.dencun-devnet-8.ethpandaops.io/cl/config.yaml" |
| containerSecurityContext | object | See values.yaml | The security context for containers |
| customCommand | list | [] | Command replacement for the light-beaconchain-explorer container |
| endpoints | list | [{"archive":false,"headers":{"X-Test":"test","Y-Test":"test2"},"name":"default-endpoint","priority":1,"url":"http://beacon-node:5052"}] | An array of endpoints to use for the explorer -- url is the only required field |
| ethExplorerLink | string | "" | Link to the eth explorer |
| extraArgs | list | [] | Extra args for the light-beaconchain-explorer 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 | 8080 | |
| image.pullPolicy | string | "IfNotPresent" | light-beaconchain-explorer container pull policy |
| image.repository | string | "pk910/light-beaconchain-explorer" | light-beaconchain-explorer container image repository |
| image.tag | string | "latest" | light-beaconchain-explorer container image tag |
| 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 |
| initContainers | list | [] | Additional init containers |
| livenessProbe | object | See values.yaml | Liveness probe |
| name | string | "mainnet" | Name of the network ("mainnet", "prater", "sepolia") |
| nameOverride | string | "" | Overrides the chart's name |
| nodeSelector | object | {} | Node selector for pods |
| 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 | "1Gi" | 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) |
| 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 |
| postgresql.auth.database | string | "light-beaconchain-explorer" | |
| postgresql.auth.enablePostgresUser | bool | true | |
| postgresql.auth.password | string | "postgres" | |
| postgresql.auth.postgresPassword | string | "postgres" | |
| postgresql.auth.username | string | "postgres" | |
| postgresql.enabled | bool | true | |
| postgresql.image.registry | string | "docker.io" | |
| postgresql.image.repository | string | "bitnami/postgresql" | |
| postgresql.image.tag | string | "15.3.0-debian-11-r7" | |
| postgresql.name | string | "{{ .Release.Name }}-postgresql" | If enabled a postgres chart will be deployed as a dependency |
| postgresql.persistence.enabled | bool | true | |
| postgresql.persistence.size | string | "8Gi" | |
| postgresql.primary.extendedConfiguration | string | "max_connections = 1024\n" | |
| postgresql.pullPolicy | string | "IfNotPresent" | |
| priorityClassName | string | nil | Pod priority class |
| ranges | string | "0-1: test\n" | |
| readinessProbe | object | See values.yaml | Readiness probe |
| replicas | int | 1 | Number of replicas |
| resources | object | {} | Resource requests and limits |
| secretEnv | object | {} | Additional env variables injected via a created secret |
| securityContext | object | See values.yaml | The security context for pods |
| service.type | string | "ClusterIP" | Service type |
| 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 | 30 | 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 stategy for the Statefulset |
| updateStrategy.type | string | "RollingUpdate" | Update stategy type |
| validatorNamesInventory | string | "" | This can be a url here for example: -- "https://config.dencun-devnet-8.ethpandaops.io/api/v1/nodes/validator-ranges" -- If you want to use a local range file define it in the values.yaml ranges section |
Example
Usage: light-beaconchain-explorer -config config.yaml
Helper:
Usage of ./explorer_linux_amd64:
-config string
Path to the config file, if empty string defaults will be used
In order to name validators based on ranges the following file format can be provided YAML:
0-500: validator_set_A
500-1000: validator_set_B
1000-1500: validator_set_C
...
Deploy light-beaconchain-explorer with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has light-beaconchain-explorer 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 chartlight-beaconchain-explorer is pinned at v0.0.1 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