obol-app

by Obol Labs

Helm chartv0.1.1App latestApache-2.0Verified publisher

A chart for running any Docker image within the Obol Stack.

About this chart

Obol App

A chart for running any Docker image within the Obol Stack.

Usage Examples

The obol-app chart is designed to run any containerized application within the Obol distributed validator stack. It provides automatic integration with Obol services and flexible configuration options.

Quick Start

If using obol-stack: The Helm repository is automatically configured - skip to the install commands below.

If not using obol-stack: Add the Obol Helm repository first:

helm repo add obol https://obolnetwork.github.io/helm-charts/
helm repo update

Install the chart:

# Install with default busybox image (displays Obol ASCII art for 30 seconds)
helm install my-demo-app obol/obol-app

# Or install with a custom image
helm install my-app obol/obol-app --set image.repository=alpine

Real-World Use Cases

1. Ethereum Block Explorer

Deploy a lightweight Ethereum block explorer connected to your Obol stack:

helm install block-explorer obol/obol-app \
  --set image.repository=alethio/ethereum-lite-explorer \
  --set image.tag=latest \
  --set service.port=8080 \
  --set ingress.enabled=true \
  --set ingress.hosts[0].host=explorer.obol.stack \
  --set ingress.hosts[0].paths[0].path=/ \
  --set ingress.hosts[0].paths[0].pathType=Prefix \
  --set-json 'image.environment=[
    {"name":"APP_NODE_URL","value":"http://rpc.l1.svc.cluster.local/rpc/mainnet"}
  ]'

2. Monitoring Dashboard

Run Grafana for monitoring your distributed validators:

helm install obol-grafana obol/obol-app \
  --set image.repository=grafana/grafana \
  --set image.tag=latest \
  --set service.port=3000 \
  --set ingress.enabled=true \
  --set ingress.hosts[0].host=monitoring.obol.stack \
  --set-json 'image.environment=[
    {"name":"GF_SECURITY_ADMIN_PASSWORD","value":"admin123"},
    {"name":"GF_INSTALL_PLUGINS","value":"grafana-piechart-panel"}
  ]'

3. Web3 Development Environment

Set up a Hardhat development environment with Obol RPC access:

helm install hardhat-env obol/obol-app \
  --set image.repository=node \
  --set image.tag=18-alpine \
  --set-json 'image.entrypoint=["/bin/sh"]' \
  --set-json 'image.args=["-c", "npx hardhat console --network obol"]' \
  --set-json 'image.environment=[
    {"name":"HARDHAT_NETWORK","value":"obol"},
    {"name":"OBOL_RPC_URL","value":"http://rpc.l1.svc.cluster.local/rpc/mainnet"}
  ]'

4. IPFS Gateway for DApp Assets

Deploy an IPFS gateway for storing and serving DApp assets:

helm install ipfs-gateway obol/obol-app \
  --set image.repository=ipfs/go-ipfs \
  --set image.tag=latest \
  --set service.port=8080 \
  --set ingress.enabled=true \
  --set ingress.hosts[0].host=ipfs.obol.stack \
  --set-json 'image.command=["/usr/local/bin/start_ipfs"]' \
  --set-json 'image.args=["daemon", "--migrate=true"]'

5. Custom DApp Backend

Run a Node.js API server that connects to your Ethereum node:

helm install dapp-api obol/obol-app \
  --set image.repository=node \
  --set image.tag=18-alpine \
  --set service.port=3001 \
  --set-json 'image.entrypoint=["/bin/sh"]' \
  --set-json 'image.args=["-c", "npm start"]' \
  --set-json 'image.environment=[
    {"name":"PORT","value":"3001"},
    {"name":"NODE_ENV","value":"production"}
  ]'

Advanced Configuration

Health Checks and Monitoring

Enable liveness and readiness probes for production deployments:

helm install production-app obol/obol-app \
  --set image.repository=nginx \
  --set-json 'livenessProbe={
    "httpGet": {
      "path": "/health",
      "port": "http"
    },
    "initialDelaySeconds": 30,
    "periodSeconds": 10
  }' \
  --set-json 'readinessProbe={
    "httpGet": {
      "path": "/ready",
      "port": "http"
    },
    "initialDelaySeconds": 5,
    "periodSeconds": 5
  }'

Resource Management

Configure resource limits and requests:

helm install resource-managed-app obol/obol-app \
  --set image.repository=nginx \
  --set-json 'resources={
    "limits": {
      "cpu": "500m",
      "memory": "512Mi"
    },
    "requests": {
      "cpu": "100m",
      "memory": "128Mi"
    }
  }'

Private Registry with Authentication

Deploy from a private Docker registry:

helm install private-app obol/obol-app \
  --set image.registry=myregistry.io \
  --set image.repository=mycompany/myapp \
  --set image.tag=v1.0.0 \
  --set image.auth.enabled=true \
  --set image.auth.secretName=my-registry-secret

Testing and Validation

Quick Health Check

# Test basic connectivity after deployment
kubectl run test-pod --rm -i --tty --image=curlimages/curl -- \
  curl http://my-web-app-obol-app.default.svc.cluster.local

Environment Variable Verification

# Deploy a debug container to verify environment setup
helm install env-check obol/obol-app \
  --set image.repository=alpine \
  --set-json 'image.entrypoint=["/bin/sh"]' \
  --set-json 'image.args=["-c", "env | grep OBOL && sleep 300"]'

# Check the logs
kubectl logs -f env-check-obol-app

Cleanup Examples

# Remove specific deployment
helm uninstall block-explorer

# Remove all test deployments
helm list | grep obol-app | awk '{print $1}' | xargs -n1 helm uninstall

Homepage: https://obol.org/

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
autoscaling.enabledboolfalse
autoscaling.maxReplicasint100
autoscaling.minReplicasint1
autoscaling.targetCPUUtilizationPercentageint80
fullnameOverridestring""
image.argslist[]
image.auth.enabledboolfalse
image.auth.secretNamestring""
image.commandlist[]
image.entrypointlist[]
image.environmentlist[]
image.pullPolicystring"IfNotPresent"
image.registrystring""
image.repositorystring"busybox"
image.tagstring""
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.classNamestring"nginx"
ingress.enabledboolfalse
ingress.hosts[0].hoststring"obol.stack"
ingress.hosts[0].paths[0].pathstring"/obol-app"
ingress.hosts[0].paths[0].pathTypestring"Prefix"
ingress.tlslist[]
livenessProbeobject{}
nameOverridestring""
nodeSelectorobject{}
obol.stack.enabledbooltrue
obol.stack.ethRpcUrlstring"http://rpc.l1.svc.cluster.local/rpc/mainnet"
podAnnotationsobject{}
podLabelsobject{}
podSecurityContextobject{}
readinessProbeobject{}
replicaCountint1
resourcesobject{}
securityContextobject{}
service.portint80
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.automountbooltrue
serviceAccount.createbooltrue
serviceAccount.namestring""
tolerationslist[]
volumeMountslist[]
volumeslist[]

Deploy obol-app with OpenTenant

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