substreams-tier-2

by Pinax

Helm chartv0.0.8App v2.12.4Verified publisher

A Helm chart for deploying substreams-tier-2

About this chart

substreams-tier-2

A Helm chart for deploying substreams-tier-2

Values

KeyTypeDefaultDescription
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"Image pull policy (e.g., Always, IfNotPresent, Never)
image.repositorystring"ghcr.io/streamingfast/firehose-ethereum"Repository for the substreams image
image.tagstring""Overrides the image tag (default: Chart.appVersion)
nameOverridestring""
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createboolfalseSpecifies 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.
substreams_tier_2.autoscalingobject{"behavior":{"scaleDown":{"policies":[{"periodSeconds":60,"type":"Pods","value":1}],"stabilizationWindowSeconds":300},"scaleUp":{"policies":[{"periodSeconds":15,"type":"Pods","value":1}],"stabilizationWindowSeconds":5}},"enabled":false,"maxReplicas":10,"minReplicas":1,"targetCPUUtilizationPercentage":80,"targetMemoryUtilizationPercentage":80}Horizontal Pod Autoscaler configuration
substreams_tier_2.autoscaling.behaviorobject{"scaleDown":{"policies":[{"periodSeconds":60,"type":"Pods","value":1}],"stabilizationWindowSeconds":300},"scaleUp":{"policies":[{"periodSeconds":15,"type":"Pods","value":1}],"stabilizationWindowSeconds":5}}Optional behavior configuration for fine-tuning scaling operations
substreams_tier_2.autoscaling.behavior.scaleDownobject{"policies":[{"periodSeconds":60,"type":"Pods","value":1}],"stabilizationWindowSeconds":300}Configuration for scaling down pods
substreams_tier_2.autoscaling.behavior.scaleDown.policieslist[{"periodSeconds":60,"type":"Pods","value":1}]Policies that control how many pods to remove during scaling operations
substreams_tier_2.autoscaling.behavior.scaleDown.policies[0]object{"periodSeconds":60,"type":"Pods","value":1}Policy to remove exactly one pod at a time
substreams_tier_2.autoscaling.behavior.scaleDown.policies[0].periodSecondsint60How frequently (in seconds) this policy can be applied
substreams_tier_2.autoscaling.behavior.scaleDown.policies[0].valueint1Number of pods to remove in a single scaling operation
substreams_tier_2.autoscaling.behavior.scaleDown.stabilizationWindowSecondsint300Number of seconds to wait with under-utilization before scaling down
substreams_tier_2.autoscaling.behavior.scaleUpobject{"policies":[{"periodSeconds":15,"type":"Pods","value":1}],"stabilizationWindowSeconds":5}Configuration for scaling up pods
substreams_tier_2.autoscaling.behavior.scaleUp.policieslist[{"periodSeconds":15,"type":"Pods","value":1}]Policies that control how many pods to add during scaling operations
substreams_tier_2.autoscaling.behavior.scaleUp.policies[0]object{"periodSeconds":15,"type":"Pods","value":1}Policy to add exactly one pod at a time
substreams_tier_2.autoscaling.behavior.scaleUp.policies[0].periodSecondsint15How frequently (in seconds) this policy can be applied
substreams_tier_2.autoscaling.behavior.scaleUp.policies[0].valueint1Number of pods to add in a single scaling operation
substreams_tier_2.autoscaling.behavior.scaleUp.stabilizationWindowSecondsint5Number of seconds to wait before scaling up after a previous scale up
substreams_tier_2.autoscaling.enabledboolfalseEnable autoscaling for the deployment
substreams_tier_2.autoscaling.maxReplicasint10Maximum number of replicas
substreams_tier_2.autoscaling.minReplicasint1Minimum number of replicas
substreams_tier_2.autoscaling.targetCPUUtilizationPercentageint80Target CPU utilization percentage
substreams_tier_2.autoscaling.targetMemoryUtilizationPercentageint80Target memory utilization percentage
substreams_tier_2.configstring"# -- Sets the verbosity level of the logging. 0 means least verbose.\nlog-verbosity: 0\n\n# -- Determines if logs should be written to a file. If false, logs will be written to stdout.\nlog-to-file: false\n\n# -- Percentage of memory limit that should trigger auto memory management.\ncommon-auto-mem-limit-percent: 90\n\n# -- Address for the Substreams Tier 2 gRPC listener.\nsubstreams-tier2-grpc-listen-addr: :9000\n\n# -- Endpoint for Substreams Tier 2 subrequests.\nsubstreams-tier2-max-concurrent-requests: 50\n"
substreams_tier_2.envobject{"enabled":false,"variables":{}}Define custom aliases for preconfigured commands in your environment. This allows you to create shorthand commands for frequently used operations,
substreams_tier_2.env.enabledboolfalseEnable environment variable injection into the container
substreams_tier_2.extraArgsobject{}Specify additional command-line arguments to pass to the tier-2 component. These arguments can be used to override default settings or provide additional configurations that are not covered by the standard configuration options.
substreams_tier_2.ingress.annotationsobject{}
substreams_tier_2.ingress.enabledboolfalseEnable or disable ingress
substreams_tier_2.ingress.hoststring"example.domain.com"Hostname for the ingress
substreams_tier_2.ingress.ingressClassNamestring"nginx"Ingress class configuration (K8s 1.19+)
substreams_tier_2.ingress.paths.defaultstring"/"Default path mapping for ingress
substreams_tier_2.ingress.tls.enabledboolfalseEnable TLS (HTTPS) for ingress
substreams_tier_2.ingress.tls.secretNamestring""Name of the TLS secret (leave empty for auto-generation)
substreams_tier_2.podSecurityContextobject{"runAsNonRoot":false}Pod-wide security context settings
substreams_tier_2.podSecurityContext.runAsNonRootboolfalseRun the pod as a non-root user (recommended for security)
substreams_tier_2.replicaCountint1Number of pod replicas for substreams tier 2
substreams_tier_2.resourcesobject{}Resource limits and requests for the container (required for HPA to function)
substreams_tier_2.service.ipFamilieslist["IPv4"]Set the IP families to use (e.g., ["IPv4", "IPv6"])
substreams_tier_2.service.ipFamilyPolicyobject{}Specifies the IP family policy for the service. Valid options are "SingleStack", "PreferDualStack", and "RequireDualStack".
substreams_tier_2.service.ports.grpcint9000Specifies the port for the Substreams GRPC interface. This port will be exposed by the service.
substreams_tier_2.service.ports.metricsint9102Specifies the port for the metrics interface. This port will be exposed by the service.
substreams_tier_2.service.typestring"ClusterIP"Specifies the type of the Kubernetes service. Valid options are "ClusterIP", "NodePort", "LoadBalancer", and "ExternalName".
substreams_tier_2.serviceMonitor.annotationsobject{}Additional annotations for the ServiceMonitor resource
substreams_tier_2.serviceMonitor.enabledboolfalseEnable or disable the service monitor
substreams_tier_2.serviceMonitor.honorLabelsboolfalseHonor labels from scraped metrics
substreams_tier_2.serviceMonitor.intervalstring"30s"Interval at which Prometheus scrapes metrics
substreams_tier_2.serviceMonitor.labelsobject{}Additional labels for the ServiceMonitor resource
substreams_tier_2.serviceMonitor.pathstring"/metrics"Configure metrics path
substreams_tier_2.serviceMonitor.relabelingslist[]Relabeling configurations for the ServiceMonitor
substreams_tier_2.serviceMonitor.scrapeTimeoutstring"10s"Timeout for the scrape request
substreams_tier_2.terminationGracePeriodSecondsint60Grace period for pod termination (in seconds)

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy substreams-tier-2 with OpenTenant

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