agave

by Dysnix

Helm chartv0.7.1App v4.2.1Verified publisher

Agave blockchain node Helm chart

About this chart

Agave helm chart

A Helm chart to deploy Agave node inside Kubernetes cluster.

Parameters

Global parameters

NameDescriptionValue
image.repositoryAgave image repositoryghcr.io/dysnix/docker-agave
image.tagAgave image tag""
image.pullPolicyAgave image pull policyIfNotPresent
imagePullSecretsAgave image pull secrets[]
nameOverrideString to partially override release name""
fullnameOverrideString to fully override release name""
serviceAccount.createSpecifies whether a ServiceAccount should be createdtrue
serviceAccount.nameThe name of the ServiceAccount to use""
serviceAccount.automountWhether to auto mount the service account tokentrue
serviceAccount.annotationsAdditional custom annotations for the ServiceAccount{}
podLabelsExtra labels for pods{}
podAnnotationsAnnotations for pods{}
envAdditional environment variables for the main Agave container; supports valueFrom and Helm templates[]
envFromSecret or ConfigMap environment sources for the main Agave container; supports Helm templates[]
extraContainerPortsAdditional ports to expose on Agave container[]
podSecurityContextConfigure securityContext for entire pod{}
securityContextConfigure securityContext for Agave container{}
resourcesSet container requests and limits for CPU or memory{}
resizePolicyspecifies container resize policies{}
livenessProbeAgave container livenessProbe{}
startupProbeAgave container startupProbe{}
readinessProbeAgave container readinessProbe{}
readinessProbeSlotDiffThresholdAgave node slot diff threshold for readinessProbe150
affinityAffinity for pod assignment{}
nodeSelectorNode labels for pod assignment{}
tolerationsTolerations for pod assignment[]
volumesPod extra volumes[]
volumeMountsContainer extra volumeMounts[]
extraInitContainersExtra initContainers (can be templated)[]
sidecarContainersExtra sidecar containers (can be templated)[]

Services configuration

NameDescriptionValue
services.rpc.enabledEnable Agave RPC servicetrue
services.rpc.typeAgave RPC service typeClusterIP
services.rpc.portAgave RPC service port (+1 for websocket)8899
services.rpc.extraPortsAgave RPC service extra ports to expose[]
services.rpc.publishNotReadyAddressesRoute trafic even when pod is not readyfalse
services.metrics.enabledEnable Agave metrics servicefalse
services.metrics.typeAgave metrics service typeClusterIP
services.metrics.portAgave metrics service port9122
services.metrics.extraPortsAgave metrics service extra ports to expose[]
services.metrics.publishNotReadyAddressesRoute trafic even when pod is not readytrue

Ingress configuration

NameDescriptionValue
ingress.httpIngress configuration for Agave RPC HTTP endpoint{}
ingress.wsIngress configuration for Agave RPC WebSocket endpoint{}
ingress.pluginsIngress configuration for Agave plugins{}

Metrics configuration

NameDescriptionValue
metrics.enabledEnable Agave node metrics collectionfalse
metrics.targetWhere to push Agave metricsexporter
metrics.exporterinfluxdb-exporter configuration{}
metrics.serviceMonitor.enabledEnable Prometheus ServiceMonitorfalse
metrics.prometheusRule.enabledCreate a custom prometheusRule Resource for scraping metrics using PrometheusOperatorfalse
metrics.prometheusRule.namespaceThe namespace in which the prometheusRule will be created""
metrics.prometheusRule.additionalLabelsAdditional labels for the prometheusRule{}
metrics.prometheusRule.rulesPrometheus rules[]
metrics.influxdb.existingSecret.nameName of secret containing InfluxDB credentialsagave-metrics-config
metrics.influxdb.existingSecret.keyKey name inside the secretconfig
hostNetworkEnable hostNetwork for Agave containertrue

Agave node configuration

NameDescriptionValue
agaveArgsagave-validator arguments{}
adjustLimitMemLock.enabledEnable adjustment of memory lock limit for Agave containerfalse
adjustLimitMemLock.limitMemory lock limit in kilobytes2000000000
sysctl.image.repositoryRepository for the sysctl container imagebusybox
sysctl.image.tagTag for the sysctl container imagelatest
sysctl.resourcesResources for the sysctl container{}
gracefulShutdown.timeoutSeconds to wait for graceful shutdown120
gracefulShutdown.optionsagave-validator exit arguments{}
gracefulShutdown.options.forceDo not wait for restart window, useful for non-validatorsfalse
gracefulShutdown.options.skip-health-checkSkip health check before exitfalse
gracefulShutdown.options.skip-new-snapshot-checkSkip check for a new snapshot before exitfalse
rustLogLogging configurationsolana_metrics=warn,agave_validator::bootstrap=debug,info
plugins.enabledEnable download of Geyser pluginsfalse
plugins.image.repositoryImage repository for the download-plugins containerpython
plugins.image.tagImage tag for the download-plugins container3.13-alpine
plugins.resourcesResources for the download-plugins container{}
plugins.volumeMountsAdditional mounts for download-plugins, referencing top-level volumes (e.g. read-only local plugin files)

Deploy agave with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has agave 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 chartagave 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