validator

by Chronicle Labs

Helm chartv0.10.0App 0.81.0Verified publisher

A Helm chart for deploying Chronicle Validator on Kubernetes

About this chart

validator

A Helm chart for deploying Chronicle Validator on Kubernetes

Maintainers

NameEmailUrl
chronicleprotocolhttps://github.com/chronicleprotocol

Values

KeyTypeDefaultDescription
extraObjectslist[]Extra K8s manifests to deploy
ghostobject{"argsOverride":[],"commandOverride":[],"enabled":true,"env":{"normal":{},"raw":{}},"ethConfig":{},"image":{"repository":null,"tag":null},"rpcUrl":null,"rpcUrlSecret":{"key":"","name":""},"service":{"annotations":{},"externalTrafficPolicy":"","loadBalancerClass":"","ports":{"libp2p":{"port":8000,"protocol":"TCP"}},"trafficDistribution":"","type":"LoadBalancer"},"watchdogConfigReg":"0x94Fea534aef6df5cF66C2DAE5CE0A05d10C068F3"}Values for Ghost
ghost.argsOverridelist[]args override for the validator
ghost.commandOverridelist[]command override for the validator
ghost.enabledbooltrueWhether to deploy the Ghost (defi) container/deployment. Set to false to run a single-container release (e.g. VAO-only).
ghost.envobject{"normal":{},"raw":{}}Environment variable listing
ghost.env.normalobject{}un-encrypted env vars passed to the pod
ghost.ethConfigobject{}Provide ETH keys from existing secrets : NB use only existing secret OR env vars, do not provide both
ghost.imageobject{"repository":null,"tag":null}Image tag for the validator (overrides global image if set)
ghost.rpcUrlSecretobject{"key":"","name":""}Read the Ghost container's CFG_CHAIN_RPC_URLS from an existing Secret instead of ghost.rpcUrl, for URLs that carry credentials such as an api_key query parameter. When name is set, ghost.rpcUrl is ignored and key is required. The VAO container inherits it when it sets neither vao.rpcUrlSecret nor vao.rpcUrl.
ghost.serviceobject{"annotations":{},"externalTrafficPolicy":"","loadBalancerClass":"","ports":{"libp2p":{"port":8000,"protocol":"TCP"}},"trafficDistribution":"","type":"LoadBalancer"}Service type for the validator
ghost.service.annotationsobject{}Annotations to add to the service
ghost.service.externalTrafficPolicystring""Optional LoadBalancer traffic policy, for example Local.
ghost.service.loadBalancerClassstring""Optional LoadBalancer class, for example service.k8s.aws/nlb.
ghost.service.ports.libp2pobject{"port":8000,"protocol":"TCP"}libp2p port for the validator service
ghost.service.trafficDistributionstring""Optional Kubernetes Service traffic distribution hint, for example PreferSameZone.
ghost.service.typestring"LoadBalancer"Type of service for the validator, only LoadBalancer supported for now
ghost.watchdogConfigRegstring"0x94Fea534aef6df5cF66C2DAE5CE0A05d10C068F3"WATCHDOG onchain config address
globalobject{"affinity":{},"chainId":1,"chainName":"eth","chainTxType":"eip1559","fullnameOverride":"ghost","image":{"pullPolicy":"Always","repository":"ghcr.io/chronicleprotocol/ghost","tag":"0.81.0@sha256:417b664eee72406bf1f36757b165135e0d71ce6321b9c0b463ec0d882a886de4"},"imagePullSecrets":[],"liveness":{"enabled":true,"livenessProbe":{"failureThreshold":4,"httpGet":{"path":"/healthz","port":9100},"initialDelaySeconds":60,"periodSeconds":60}},"logFormat":"text","logLevel":"info","metrics":{"enabled":true,"port":9090,"service":{"annotations":{}}},"nameOverride":"","nodeSelector":{},"podAnnotations":{},"podSecurityContext":{},"readiness":{"enabled":true,"readinessProbe":{"failureThreshold":4,"httpGet":{"path":"/healthz","port":9100},"initialDelaySeconds":60,"periodSeconds":60}},"replicaCount":1,"resources":{},"securityContext":{},"serviceAccount":{"annotations":{},"create":true,"name":""},"startup":{"enabled":false,"startupProbe":{"failureThreshold":30,"httpGet":{"path":"/healthz","port":9100},"periodSeconds":10}},"tolerations":[],"topologySpreadConstraints":[]}Global values for the validator chart, values are used across the chart resources
global.affinityobject{}pod Affinity spec applied validator
global.chainIdint1chain id for the "target" or "main" chain we use for the validator. Can be mainnet ethereum 1 or sepolia ethereum 11155111
global.chainNamestring"eth"chain name for the "target" or "main" chain we use for the validator
global.chainTxTypestring"eip1559"chain tx type for the "target" or "main" chain we use for the validator. Can be mainnet ethereum eip1559 or legacy
global.fullnameOverridestring"ghost"Override the release name to so tor-proxy can work with the default config. NB only change this if you know what you are doing
global.imageobject{"pullPolicy":"Always","repository":"ghcr.io/chronicleprotocol/ghost","tag":"0.81.0@sha256:417b664eee72406bf1f36757b165135e0d71ce6321b9c0b463ec0d882a886de4"}Image for the validator
global.image.tagstring"0.81.0@sha256:417b664eee72406bf1f36757b165135e0d71ce6321b9c0b463ec0d882a886de4"Image tag PINNED to the multi-arch index digest (RFC-044.4 WS1); bump with appVersion.
global.livenessobject{"enabled":true,"livenessProbe":{"failureThreshold":4,"httpGet":{"path":"/healthz","port":9100},"initialDelaySeconds":60,"periodSeconds":60}}Liveness probe : restart the validator if the healthcheck endpoint is not reachable
global.logFormatstring"text"Log format for the validator, can be one of json, text
global.logLevelstring"info"Log level for the validator, can be one of debug, info, warning, error
global.metricsobject{"enabled":true,"port":9090,"service":{"annotations":{}}}Metrics port for the validator, used by the service and the service monitor
global.metrics.service.annotationsobject{}Annotations for the ClusterIP metrics Services (-metrics, -metrics-vao). Before 0.10.0 they copied ghost.service.annotations and vao.service.annotations, so load balancer annotations gave each metrics Service its own load balancer.
global.nodeSelectorobject{}Node selector for the validator
global.podAnnotationsobject{}Pod annotations for the validator
global.podSecurityContextobject{}Pod security context for the validator
global.readinessobject{"enabled":true,"readinessProbe":{"failureThreshold":4,"httpGet":{"path":"/healthz","port":9100},"initialDelaySeconds":60,"periodSeconds":60}}Readiness probe : stop the validator if the metrics endpoint is not reachable
global.resourcesobject{}Resources constraints for the validator, CPU, Memory, etc.
global.securityContextobject{}Security context for the validator
global.serviceAccount.annotationsobject{}Annotations to add to the service account
global.serviceAccount.createbooltrueSpecifies whether a service account should be created
global.serviceAccount.namestring""If not set and create is true, a name is generated using the fullname template
global.startupobject{"enabled":false,"startupProbe":{"failureThreshold":30,"httpGet":{"path":"/healthz","port":9100},"periodSeconds":10}}Startup probe : give a slow-starting validator time to serve /healthz before the liveness probe can kill it. While this probe is running the liveness and readiness probes are suspended, so startup time and steady-state failure detection are tuned independently instead of trading off against each other. Disabled by default to keep existing releases unchanged; enable it for validators whose startup can exceed the liveness initialDelaySeconds. failureThreshold x periodSeconds is the startup budget (default 30 x 10s = 5 minutes).
global.tolerationslist[]Tolerations applied validator
global.topologySpreadConstraintslist[]Topology spread constraints applied to both ghost and vao pods
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"60s"ServiceMonitor scrape interval
serviceMonitor.labelsobject{}Additional ServiceMonitor labels
serviceMonitor.namespacestringnilAlternative namespace for ServiceMonitor
serviceMonitor.pathstring"/metrics"Path to scrape
serviceMonitor.portstring"metrics"port to scrape
serviceMonitor.relabelingslist[]ServiceMonitor relabelings
serviceMonitor.schemestring"http"ServiceMonitor scheme
serviceMonitor.scrapeTimeoutstring"60s"ServiceMonitor scrape timeout
serviceMonitor.tlsConfigobject{}ServiceMonitor TLS configuration
tor-proxyobject{"enabled":true}Values for Tor Proxy (subchart of ghost)
tor-proxy.enabledbooltruevalues for tor-proxy, installs tor-controller and creates an onionService CRD
vao.affinityobject{}pod Affinity spec applied to the VAO pod. Merged over global.affinity.
vao.argsOverridelist[]args override for the validator
vao.commandOverridelist[]command override for the validator
vao.enabledbooltrueWhether to deploy the VAO container/deployment. Set to false to run a single-container release (e.g. Ghost-only).
vao.envobject{"normal":{"CFG_DEFI_ENABLE":"0","CFG_VAO_ENABLE":"1"},"raw":{}}Environment variable listing
vao.env.normalobject{"CFG_DEFI_ENABLE":"0","CFG_VAO_ENABLE":"1"}un-encrypted env vars passed to the pod
vao.ethConfigobject{}Provide ETH keys from existing secrets : NB use only existing secret OR env vars, do not provide both. Falls back to ghost.ethConfig when unset (pre-0.8.0 behavior).
vao.extraVolumeslist[]Extra volumes to mount (typically for secrets)
vao.imageobject{"repository":null,"tag":null}Image tag for the validator (overrides global image if set)
vao.resourcesobject{}Resources constraints for the validator, CPU, Memory, etc.
vao.rpcUrlstringnilChain RPC URL(s) for the VAO container's target chain. When neither this nor vao.rpcUrlSecret is set, the VAO container uses the Ghost settings, ghost.rpcUrlSecret then ghost.rpcUrl (pre-0.8.0 behavior).
vao.rpcUrlSecretobject{"key":"","name":""}Read the VAO container's CFG_CHAIN_RPC_URLS from an existing Secret instead of vao.rpcUrl. When name is set, vao.rpcUrl is ignored and key is required.
vao.serviceobject{"annotations":{},"externalTrafficPolicy":"","loadBalancerClass":"","ports":{"libp2p":{"port":8001,"protocol":"TCP"}},"trafficDistribution":"","type":"LoadBalancer"}Service type for the validator
vao.service.annotationsobject{}Annotations to add to the service
vao.service.externalTrafficPolicystring""Optional LoadBalancer traffic policy, for example Local.
vao.service.loadBalancerClassstring""Optional LoadBalancer class, for example service.k8s.aws/nlb.
vao.service.ports.libp2pobject{"port":8001,"protocol":"TCP"}libp2p port for the validator service
vao.service.trafficDistributionstring""Optional Kubernetes Service traffic distribution hint, for example PreferSameZone.
vao.service.typestring"LoadBalancer"Type of service for the validator, only LoadBalancer supported for now
vao.watchdogConfigRegstring"0x064358f9b6428C51F80511D73AFEb3A9e5Cf0213"WATCHDOG onchain config address

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy validator with OpenTenant

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