light-beaconchain-explorer

by ethPandaOps

Helm chartv0.0.1Verified publisher

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

RepositoryNameVersion
https://charts.bitnami.com/bitnamipostgresql12.x.x

Values

KeyTypeDefaultDescription
affinityobject{}Affinity configuration for pods
annotationsobject{}Annotations for the StatefulSet
configstringSee values.yamlConfig file
configPathstring""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"
containerSecurityContextobjectSee values.yamlThe security context for containers
customCommandlist[]Command replacement for the light-beaconchain-explorer container
endpointslist[{"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
ethExplorerLinkstring""Link to the eth explorer
extraArgslist[]Extra args for the light-beaconchain-explorer 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
httpPortint8080
image.pullPolicystring"IfNotPresent"light-beaconchain-explorer container pull policy
image.repositorystring"pk910/light-beaconchain-explorer"light-beaconchain-explorer container image repository
image.tagstring"latest"light-beaconchain-explorer 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
initContainerslist[]Additional init containers
livenessProbeobjectSee values.yamlLiveness probe
namestring"mainnet"Name of the network ("mainnet", "prater", "sepolia")
nameOverridestring""Overrides the chart's name
nodeSelectorobject{}Node selector for pods
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"1Gi"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)
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
postgresql.auth.databasestring"light-beaconchain-explorer"
postgresql.auth.enablePostgresUserbooltrue
postgresql.auth.passwordstring"postgres"
postgresql.auth.postgresPasswordstring"postgres"
postgresql.auth.usernamestring"postgres"
postgresql.enabledbooltrue
postgresql.image.registrystring"docker.io"
postgresql.image.repositorystring"bitnami/postgresql"
postgresql.image.tagstring"15.3.0-debian-11-r7"
postgresql.namestring"{{ .Release.Name }}-postgresql"If enabled a postgres chart will be deployed as a dependency
postgresql.persistence.enabledbooltrue
postgresql.persistence.sizestring"8Gi"
postgresql.primary.extendedConfigurationstring"max_connections = 1024\n"
postgresql.pullPolicystring"IfNotPresent"
priorityClassNamestringnilPod priority class
rangesstring"0-1: test\n"
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
service.typestring"ClusterIP"Service type
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
terminationGracePeriodSecondsint30How long to wait until the pod is forcefully terminated
tolerationslist[]Tolerations for pods
topologySpreadConstraintslist[]Topology Spread Constraints for pods
updateStrategyobject{"type":"RollingUpdate"}Update stategy for the Statefulset
updateStrategy.typestring"RollingUpdate"Update stategy type
validatorNamesInventorystring""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
...

More details can be found here or here.

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartlight-beaconchain-explorer is pinned at v0.0.1 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