consensus-monitor

by ethPandaOps

Helm chartv0.1.4Verified publisher

Web UI to monitor the ethereum consensus nodes via their beaconchain APIs.

About this chart

consensus-monitor

Web UI to monitor the ethereum consensus nodes via their beaconchain APIs.

Homepage: https://github.com/ralexstokes/ethereum_consensus_monitor/

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}Affinity configuration for pods
annotationsobject{}Annotations for the StatefulSet
configstringSee values.yamlConfig file
containerSecurityContextobjectSee values.yamlThe security context for containers
customArgslist[]Custom args for the consensus-monitor container
customCommandlist[]Command replacement for the consensus-monitor 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
image.pullPolicystring"IfNotPresent"consensus-monitor container pull policy
image.repositorystring"ralexstokes/ethereum_consensus_monitor"consensus-monitor container image repository
image.tagstring"latest"consensus-monitor 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
nameOverridestring""Overrides the chart's name
nodeSelectorobject{}Node selector for pods
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
readinessProbeobjectSee values.yamlReadiness probe
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
terminationGracePeriodSecondsint30How 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

Setting the configuration file

config: |
  [network]
  name = "pithos"
  etherscan_api_key = "some-etherscan-api-key"

  [consensus_chain]
  seconds_per_slot = 12
  slots_per_epoch = 32
  genesis_time = 1634213100

  [weak_subjectivity]
  provider_endpoint = "http://eth2-ws-provider_eth2_ws_server_1:80"

  [monitor]
  output_dir = "public"
  port = 8080

  [[monitor.endpoints]]
  consensus = "http://beacon-node:4000"
  execution = "Geth"

  [[monitor.endpoints]]
  consensus = "http://beacon-node2:4000"
  execution = "Nethermind"

Deploy consensus-monitor with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has consensus-monitor 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 chartconsensus-monitor is pinned at v0.1.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