freqtrade

by OTWLD

Helm chartv0.3.3App stableApache-2.0Verified publisher

Production-grade Helm chart for running Freqtrade dashboards and multi-bot fleets on Kubernetes

About this chart

Freqtrade Helm Chart

Production-grade Helm chart for running Freqtrade dashboards and multi-bot fleets on Kubernetes.

Why this chart

  • Fleet-oriented model built around dashboard and bots[]
  • Isolated StatefulSet, ConfigMap, Secret, PVC, Service, and optional Ingress per bot
  • Shared analysis dashboard with optional companion data jobs for graphing
  • Strategy delivery via image, PVC, or initSync
  • Bots default to initial_state: running so dry-run and live bots start trading immediately unless you override that behavior
  • Bot-level Telegram support aligned with the official Freqtrade configuration model
  • Render-time validation for common Freqtrade configuration mistakes

Architecture at a glance

ComponentPurposeWorkloadStorageExposure
dashboardShared FreqUI and analysis webserverStatefulSetDedicated user_data PVCService + optional ingress
bots[]One trading bot per strategy/runtime profileStatefulSetOne user_data PVC per botService + optional ingress
dashboard.dataJobsShared chart-data fetch for graph pagesJob or CronJobReuses dashboard PVCInternal only

Install from OTWLD Helm Repo

helm repo add otwld https://helm.otwld.com/
helm repo update
helm upgrade --install freqtrade otwld/freqtrade \
  --namespace freqtrade \
  --create-namespace \
  -f values.yaml

Local development quick start

helm lint .
./scripts/generate-docs.sh
./scripts/lint-examples.sh .

helm upgrade --install freqtrade . \
  --namespace freqtrade \
  --create-namespace \
  -f examples/minimal.yaml

Example catalog

FileUse case
examples/minimal.yamlOne bot, no ingress, API enabled
examples/bot-with-telegram.yamlBot-level Telegram integration
examples/dashboard-and-bots.yamlShared dashboard plus multiple bots
examples/recommended-fleet.yamlRecommended production-style baseline with public dashboard and private bots
examples/private-bot-ui.yamlBot UI enabled, no public ingress
examples/public-dashboard.yamlPublic dashboard with recurring data jobs
examples/external-secret.yamlPrivate config sourced from External Secrets Operator
examples/existing-pvc.yamlReuse existing storage
examples/strategy-init-sync.yamlGit-based strategy delivery
examples/values-freqtrade-v2.yamlLarge integration-style validation overlay

Operator docs

  • Home
  • Architecture
  • Installation and Upgrades
  • Examples
  • Operations
  • Releases and CI
  • Troubleshooting

Telegram

Telegram is configured per bot through bots[].telegram.

  • Required when enabled: token, chatId
  • Optional upstream-aligned fields: topicId, authorizedUsers, allowCustomMessages, reload, balanceDustLevel, notificationSettings, keyboard
  • The chart renders Telegram as a dedicated secret-backed config overlay instead of mixing it into config.public

Reference:

  • Bot with Telegram example
  • https://www.freqtrade.io/en/stable/telegram-usage/
  • https://www.freqtrade.io/en/stable/configuration/

Values

This reference is generated from values.yaml with helm-docs.

Notes:

  • global contains cross-cutting defaults shared by every workload
  • dashboard models the optional analysis-first freqtrade webserver
  • bots is an array. Since the default is [], use the commented bot skeleton in values.yaml and the curated examples for the per-bot shape
KeyTypeDefaultDescription
botslist[]Keep one bot per strategy/runtime profile for predictable upgrades and isolation.
dashboardobject{"affinity":{},"api":{"corsOrigins":[],"enabled":true,"port":8080},"args":[],"command":[],"config":{"existingSecret":"","existingSecretKey":"config-private.json","externalSecret":{"data":[],"dataFrom":[],"enabled":false,"refreshInterval":"1h","secretStoreRef":{"kind":"ClusterSecretStore","name":""},"target":{"creationPolicy":"Owner","name":""}},"public":{},"secret":{}},"containerSecurityContext":{},"dataJobs":{"downloadData":{"activeDeadlineSeconds":null,"backoffLimit":1,"days":14,"enabled":false,"erase":false,"extraArgs":[],"failedJobsHistoryLimit":1,"pairs":[],"resources":{"limits":{},"requests":{"cpu":"100m","memory":"256Mi"}},"schedule":"","successfulJobsHistoryLimit":1,"timeframes":["15m"],"ttlSecondsAfterFinished":86400},"enabled":false},"enabled":false,"env":[],"envFrom":[],"extraArgs":[],"extraContainers":[],"extraVolumeMounts":[],"extraVolumes":[],"image":{},"ingress":{"annotations":{},"className":"","enabled":false,"host":"","path":"/","pathType":"Prefix","tls":[]},"initContainers":[],"lifecycle":{},"networkPolicy":{},"nodeSelector":{},"persistence":{"accessModes":["ReadWriteOnce"],"annotations":{},"enabled":true,"existingClaim":"","mountPath":"/freqtrade/user_data","size":"20Gi","storageClassName":""},"podAnnotations":{},"podLabels":{},"podSecurityContext":{},"priorityClassName":"","probes":{},"resources":{},"service":{"annotations":{},"type":"ClusterIP"},"terminationGracePeriodSeconds":null,"tolerations":[],"topologySpreadConstraints":[],"ui":{"enabled":true}}Optional shared FreqUI / freqtrade webserver instance used for analysis and graphing.
dashboard.api.corsOriginslist[]Explicit dashboard CORS origins. Bot API CORS defaults are managed separately.
dashboard.api.enabledbooltrueExpose the dashboard REST API and FreqUI service.
dashboard.api.portint8080Dashboard API service port.
dashboard.argslist[]Override the dashboard container args entirely.
dashboard.commandlist[]Override the dashboard container command.
dashboard.config.existingSecretstring""Existing Secret name containing the private config file.
dashboard.config.existingSecretKeystring"config-private.json"Key inside existingSecret that contains the private config JSON.
dashboard.config.externalSecretobject{"data":[],"dataFrom":[],"enabled":false,"refreshInterval":"1h","secretStoreRef":{"kind":"ClusterSecretStore","name":""},"target":{"creationPolicy":"Owner","name":""}}External Secrets Operator settings for the private config file.
dashboard.config.publicobject{}Public Freqtrade config rendered into config.json.
dashboard.config.secretobject{}Private Freqtrade config rendered into config-private.json when no external secret source is used.
dashboard.dataJobs.downloadData.activeDeadlineSecondsstringnilOptional Job deadline in seconds.
dashboard.dataJobs.downloadData.backoffLimitint1Maximum retries for the Job.
dashboard.dataJobs.downloadData.daysint14Number of historical days to download.
dashboard.dataJobs.downloadData.enabledboolfalseEnable the download-data companion workload.
dashboard.dataJobs.downloadData.eraseboolfalseErase existing data before downloading.
dashboard.dataJobs.downloadData.extraArgslist[]Extra CLI args appended to freqtrade download-data.
dashboard.dataJobs.downloadData.failedJobsHistoryLimitint1Failed CronJob history retained by Kubernetes.
dashboard.dataJobs.downloadData.pairslist[]Pair list used by the data job. Required when enabled.
dashboard.dataJobs.downloadData.resourcesobject{"limits":{},"requests":{"cpu":"100m","memory":"256Mi"}}Resources for the data job container.
dashboard.dataJobs.downloadData.schedulestring""Cron schedule for recurring downloads. Leave empty to render a one-shot Job.
dashboard.dataJobs.downloadData.successfulJobsHistoryLimitint1Successful CronJob history retained by Kubernetes.
dashboard.dataJobs.downloadData.timeframeslist["15m"]Timeframes fetched by the data job. Required when enabled.
dashboard.dataJobs.downloadData.ttlSecondsAfterFinishedint86400TTL in seconds for completed one-shot Jobs.
dashboard.dataJobs.enabledboolfalseEnable dashboard-owned data jobs such as download-data.
dashboard.enabledboolfalseEnable the shared dashboard StatefulSet.
dashboard.extraArgslist[]Extra args appended to the chart-generated Freqtrade command.
dashboard.imageobject{}Override the default image for the dashboard only.
dashboard.ingress.annotationsobject{}Extra annotations for the dashboard ingress.
dashboard.ingress.classNamestring""IngressClass name for the dashboard ingress.
dashboard.ingress.enabledboolfalseEnable ingress for the dashboard UI/API.
dashboard.ingress.hoststring""Dashboard ingress host.
dashboard.ingress.pathstring"/"Dashboard ingress path.
dashboard.ingress.pathTypestring"Prefix"Dashboard ingress pathType.
dashboard.ingress.tlslist[]Optional dashboard ingress TLS entries.
dashboard.persistence.accessModeslist["ReadWriteOnce"]PVC access modes.
dashboard.persistence.annotationsobject{}Extra annotations for the dashboard PVC.
dashboard.persistence.enabledbooltrueEnable persistent storage for the dashboard user_data directory.
dashboard.persistence.existingClaimstring""Reuse an existing claim instead of creating one.
dashboard.persistence.mountPathstring"/freqtrade/user_data"Mount path for dashboard user_data.
dashboard.persistence.sizestring"20Gi"PVC size when the chart creates the claim.
dashboard.persistence.storageClassNamestring""StorageClass for the dashboard PVC. Empty uses the cluster default.
dashboard.resourcesobject{}Optional per-dashboard overrides for global defaults.
dashboard.service.annotationsobject{}Extra annotations for the dashboard Service.
dashboard.service.typestring"ClusterIP"Kubernetes Service type for the dashboard API/UI.
dashboard.ui.enabledbooltrueEnable the dashboard FreqUI surface. Dashboard mode requires this to stay true.
globalobject{"affinity":{},"containerSecurityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsGroup":1000,"runAsNonRoot":true,"runAsUser":1000,"seccompProfile":{"type":"RuntimeDefault"}},"env":[],"envFrom":[],"extraContainers":[],"extraVolumeMounts":[],"extraVolumes":[],"fullnameOverride":"","image":{"pullPolicy":"IfNotPresent","pullSecrets":[],"repository":"freqtradeorg/freqtrade","tag":"stable"},"initContainers":[],"lifecycle":{},"nameOverride":"","networkPolicy":{"egress":{"allowDns":true,"rules":[]},"enabled":false,"ingress":{"from":[]}},"nodeSelector":{},"podAnnotations":{},"podLabels":{},"podSecurityContext":{"fsGroup":1000,"fsGroupChangePolicy":"OnRootMismatch"},"priorityClassName":"","probes":{"liveness":{"enabled":true,"failureThreshold":6,"initialDelaySeconds":30,"periodSeconds":15,"timeoutSeconds":5},"readiness":{"enabled":true,"failureThreshold":6,"initialDelaySeconds":5,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5},"startup":{"enabled":true,"failureThreshold":30,"initialDelaySeconds":10,"periodSeconds":10,"timeoutSeconds":5}},"resources":{"limits":{},"requests":{"cpu":"250m","memory":"512Mi"}},"serviceAccount":{"annotations":{},"automountToken":false,"create":false,"name":""},"terminationGracePeriodSeconds":60,"tolerations":[],"topologySpreadConstraints":[]}Shared defaults applied to the dashboard and every bot unless overridden.
global.affinityobject{}Shared affinity applied to dashboard and bots.
global.containerSecurityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsGroup":1000,"runAsNonRoot":true,"runAsUser":1000,"seccompProfile":{"type":"RuntimeDefault"}}Container-level security context defaults.
global.envlist[]Shared environment variables injected into every main container.
global.envFromlist[]Shared envFrom entries injected into every main container.
global.extraContainerslist[]Shared sidecars or extra containers appended after the main Freqtrade container.
global.extraVolumeMountslist[]Shared extra volumeMounts for the main Freqtrade container.
global.extraVolumeslist[]Shared extra volumes mounted into dashboard and bot pods.
global.fullnameOverridestring""Override the full release name for generated resource names.
global.imageobject`{"pullPolicy":"IfNotPresent","pullSecrets":[],"repository":"freqtradeorg/freqtrade","tag"

Deploy freqtrade with OpenTenant

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