Helm chartv0.7.1App 0.1.1Verified publisher

A Helm chart for deploying eRPC — fault-tolerant evm rpc proxy with reorg-aware permanent caching to Kubernetes

About this chart

erpc

A Helm chart for deploying eRPC — fault-tolerant evm rpc proxy with reorg-aware permanent caching to Kubernetes

Maintainers

NameEmailUrl
chronicleprotocolhttps://chroniclelabs.org

Values

KeyTypeDefaultDescription
affinityobject{}
autoscalingobject{"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80}Enable autoscaling / HPA
deploymentAnnotationsobject{}Annotations for the Deployment itself. Stakater Reloader reads workload metadata, so reloader annotations belong here, not podAnnotations.
envobject{}create env vars from secrets, eg RPC provider API keys (eg, Blast API, DRPC, Infura, Alchemy, etc. )
erpcobject{"database":{"evmJsonRpcCache":{"connectors":[{"driver":"memory","id":"memory-cache","memory":{"maxItems":100000}}],"policies":[{"connector":"memory-cache","finality":"finalized","method":"*","network":"*","ttl":0},{"connector":"memory-cache","finality":"unfinalized","maxItemSize":"1MB","method":"*","network":"*","ttl":"5s"},{"connector":"memory-cache","finality":"unknown","method":"*","network":"*","ttl":"5s"}]}},"logLevel":"warn","metrics":{"enabled":true,"hostV4":"0.0.0.0","hostV6":"[::]","listenV4":true,"listenV6":false,"port":4001},"projects":[{"id":"main","networks":[{"architecture":"evm","evm":{"chainId":1},"failsafe":[{"circuitBreaker":{"failureThresholdCapacity":200,"failureThresholdCount":160,"halfOpenAfter":"5m","successThresholdCapacity":3,"successThresholdCount":3},"hedge":{"delay":"500ms","maxCount":1},"matchMethod":"*","retry":{"delay":"0ms","maxAttempts":3},"timeout":{"duration":"30s"}}]},{"architecture":"evm","evm":{"chainId":42161},"failsafe":[{"hedge":{"delay":"500ms","maxCount":1},"matchMethod":"*","retry":{"delay":"0ms","maxAttempts":3},"timeout":{"duration":"30s"}}]}],"rateLimitBudget":"frontend-budget","upstreams":[{"endpoint":"https://arb1.arbitrum.io/rpc","evm":{"chainId":42161},"failsafe":[{"matchMethod":"*","retry":{"backoffFactor":1.2,"backoffMaxDelay":"3s","delay":"500ms","jitter":"0ms","maxAttempts":2},"timeout":{"duration":"15s"}}],"id":"public-arb1","ignoreMethods":["alchemy_*","eth_traceTransaction"],"rateLimitBudget":"default-budget","type":"evm"},{"endpoint":"https://ethereum-rpc.publicnode.com","evm":{"chainId":1},"failsafe":[{"matchMethod":"*","retry":{"backoffFactor":1.2,"backoffMaxDelay":"3s","delay":"500ms","jitter":"0ms","maxAttempts":2},"timeout":{"duration":"15s"}}],"id":"public-eth","rateLimitBudget":"public-node","type":"evm"}]}],"rateLimiters":{"budgets":[{"id":"global","rules":[{"maxCount":20000,"method":"*","period":"1s","waitTime":"1s"}]},{"id":"default-budget","rules":[{"maxCount":10000,"method":"*","period":"1s","waitTime":"100ms"}]},{"id":"global-blast","rules":[{"maxCount":1000,"method":"*","period":"1s"}]},{"id":"public-node","rules":[{"maxCount":300,"method":"*","period":"1s"}]},{"id":"frontend-budget","rules":[{"maxCount":500,"method":"*","period":"1s"}]}]},"server":{"enableGzip":true,"httpHostV4":"0.0.0.0","httpHostV6":"[::]","httpPort":4000,"listenV4":true,"listenV6":false,"maxTimeout":"30s","readTimeout":"10s","tls":{"caFile":"/path/to/ca.pem","certFile":"/path/to/cert.pem","enabled":false,"insecureSkipVerify":false,"keyFile":"/path/to/key.pem"},"waitAfterShutdown":"30s","waitBeforeShutdown":"30s","writeTimeout":"20s"}}eRPC configuration, ref: https://docs.erpc.cloud/config/example#full-config-example; accepts full erpc.yaml config
extraObjectslist[]
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"ghcr.io/erpc/erpc"
image.tagstring"0.1.1@sha256:8bfed3d49a086f3bcf7be34ad69fd3f9abda6e53aa600e3d82e435a29a111137"
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]
livenessProbeobjectSee values.yamlLiveness probe
maxSurgestringnildefault is 1
maxUnavailablestringnildefault is 0
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podSecurityContextobject{}
readinessProbeobjectSee values.yamlReadiness probe
replicaCountint1Deployment replica count
resourcesobject{}
securityContextobject{}
service.annotationsobject{}
service.labelsobject{}
service.ports.http.portint4000
service.ports.http.protocolstring"TCP"
service.ports.metrics.portint4001
service.ports.metrics.protocolstring"TCP"
service.trafficDistributionstring""Optional Kubernetes Service traffic distribution hint, for example PreferSameZone.
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestring""
serviceMonitorobject{"annotations":{},"enabled":false,"interval":"1m","labels":{},"metricRelabelings":[],"namespace":null,"path":"/metrics","port":"metrics","relabelings":[],"scheme":"http","scrapeTimeout":"30s","tlsConfig":{}}If true, create a ServiceMonitor CRD for prometheus operator
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.metricRelabelingslist[]ServiceMonitor metricRelabelings
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"30s"ServiceMonitor scrape timeout
serviceMonitor.tlsConfigobject{}ServiceMonitor TLS configuration
startupProbeobjectSee values.yamlStartup probe. Once this succeeds, the liveness probe takes over.
terminationGracePeriodSecondsint70The duration in seconds the pod needs to terminate gracefully. This should be greater than the sum of erpc.server.waitBeforeShutdown and erpc.server.waitAfterShutdown to allow the application to shut down cleanly.
tolerationslist[]
updateStrategystringnildefault RollingUpdate

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy erpc with OpenTenant

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