How to deploy promptfoo on Kubernetes with Helm for one team
The promptfoo Helm chart runs the Express server, which serves both the web UI and the API, as one replica with persistent storage. That setup suits a single team or a pilot, and it is not designed as a horizontally scaled service. Platform teams should choose it when they want one shared promptfoo instance inside their own cluster for a small, known group of users. Before the install, confirm that the namespace, StorageClass and ingress they plan to use can support a single stateful workload with a volume that outlives pod restarts, and that the people who need access are named in advance.
The limits come from the data layer and the access model. promptfoo keeps its data in a local SQLite database that cannot be shared across replicas, so a second pod would hold its own copy of state and scaling out would split that state between pods. The server also has no built-in authentication, RBAC or SSO, so anyone who can reach the service can use it. Access control therefore has to come from the ingress, network policies or an identity-aware proxy that your team operates. The chart is also experimental, so pin the chart version and image tag you test and check the release notes before each upgrade. For the server's own documentation, see the promptfoo self-hosting guide.
Three readers need this page. The cluster owner decides whether a single-replica workload with its own volume fits the namespace, capacity and storage policies already in place. The security reviewer needs the access boundary described above and the data the server holds before approving it, including what is stored in the database and who can reach the ingress. The engineer who runs the install needs the steps, the post-install checks and the upgrade path. Use the sections that follow as the working reference, and settle each open question with your platform team before the install starts.
How the promptfoo pod, volume, service and ingress connect
The diagram starts with users and the CLI, whose requests pass first through an authentication layer at the ingress, because the promptfoo server has no login of its own. The ingress controller routes traffic to a Kubernetes Service, which selects the single promptfoo pod. The pod writes its SQLite database to a PersistentVolumeClaim, which a StorageClass binds to storage. The cluster box marks the trust boundary: everything inside it is yours to protect. The outbound arrow from the pod to model providers is an egress path, so confirm with your network team which destinations are approved before the first eval runs.
Request path, storage binding and outbound egress for one promptfoo pod.
Chart options to decide before installing promptfoo with Helm
This table compares the chart options a platform team must settle before installing the promptfoo Helm chart, showing the pilot choice, the choice that creates risk and what to confirm for each. Read it as a checklist, since the chart runs one replica and every other option is about keeping that single instance's data durable and reachable only by the right people. Take exact key names and defaults from the chart's values file in the promptfoo repository and the self-hosting documentation, and confirm them against the chart version you plan to install.
| Decision | Fits a single-team pilot | Creates risk | Confirm before install |
|---|---|---|---|
| Replica count | One replica, which is the only layout the chart runs | Adding replicas lets pods compete for one SQLite database that cannot be shared | Replica key name and default in the values file; keep it at one |
| PersistentVolumeClaim size | A volume sized for the pilot's eval history and media, with room to grow | A full volume stops writes to promptfoo.db and can fail new runs | Size key name and default in the values file; whether your StorageClass allows expansion |
| StorageClass | The cluster's standard block storage class with a retain or delete policy you understand | Node-local or ephemeral storage can lose promptfoo.db when the pod moves | Available classes, reclaim policy and the access mode the chart requests |
| Service type | ClusterIP, reached through an internal ingress or a port-forward for pilot users | NodePort or LoadBalancer exposes a server with no built-in login, SSO or RBAC | Service type key and default in the values file; which network path users will take |
| Ingress host | An internal hostname that resolves only inside your corporate network | A public hostname puts evals and results on a server with no built-in authentication | Ingress enable flag, host key, ingress class and the DNS zone the name lives in |
| TLS | TLS terminated at your ingress with a certificate from your internal authority | Plain HTTP exposes results and anything typed into the UI to the network path | TLS secret key in the values file, certificate issuer and renewal process |
Why scaling promptfoo out to more replicas breaks jobs
A second replica is unsafe because the self-hosted promptfoo server keeps its data in a local SQLite database on one persistent volume, and that database cannot be shared across replicas. SQLite is a file-based store designed for one process at a time, so two pods working against the same database file is not a supported arrangement. The server also has no horizontal scaling support, so nothing in the application coordinates work between pods. The Helm chart gives you one volume and one database, and the design assumes one running instance. Keep the replica count at one, and treat any change to replica settings in your values file as unsupported until promptfoo confirms otherwise.
The deeper problem is that an eval or red team run depends on state its pod holds. When a run starts on one pod, its progress and the records it writes live in that pod's view of the database, and other pods cannot see that state. A request for a results page, a status check or a share action that lands on a different pod can find no record, an incomplete record, or a record that does not match what the first pod is writing. For the team, this shows up as runs that stop partway and never finish, runs that look stuck in the web UI, results pages that differ depending on which pod answers, and writes from several pods competing for the same file, which can cause write errors and inconsistent results. The documentation does not give failure rates, so test these symptoms in a staging cluster before relying on any multi-pod setup.
A ReadWriteMany volume does not remove the SQLite constraint. Such a volume lets several pods mount the same storage, but the database is still a single file designed for one writer, so shared storage does not make concurrent use safe. Teams sometimes read a successful mount as proof that replicas will work, and that conclusion is wrong. Before any multi-replica attempt, ask promptfoo in writing how the server behaves on shared storage, whether any supported topology allows more than one instance, and what changes would be required. Review the promptfoo self-hosting documentation for current limits. If you need more than one instance, plan for the On-Prem edition or another setup, and do not test your way into a shared database.
Install steps for the promptfoo Helm chart on Kubernetes
This sequence takes a cluster from an empty namespace to one promptfoo replica that answers through a port-forward and, only then, through ingress. Each step closes with a check, so the team can stop or roll back before making the next change.
Confirm the cluster version
The platform team checks the server version with
kubectl versionand compares it with the Kubernetes minor releases the project still maintains. The Kubernetes releases page listed 1.35, 1.36 and 1.37 as maintained as of September 2026, so confirm the current list on the day you start, because it changes with each release. Check that every kubelet falls within the version skew policy relative to kube-apiserver. Done when the server version is on the maintained list and every node runs a supported kubelet version. This step changes nothing, so there is no rollback.Confirm the chart source and version
Clone the promptfoo repository and check out the release tag you plan to run, so the chart and the server image come from the same point in history. The chart is experimental, so confirm its path, chart version and the image tag it deploys against the promptfoo releases on GitHub page before you rely on them. Record the commit hash so an upgrade or rollback has a known starting point. Done when
helm show chartrun against the chart directory reports the version you recorded. Nothing is installed yet, so there is nothing to roll back.Create the namespace and provider key Secret
Create a dedicated namespace with
kubectl create namespace, then create a Secret that holds the provider API keys the server needs. Load the values from a file or a secrets manager so keys stay out of shell history and out of any values file committed to Git. Kubernetes stores Secrets unencrypted in etcd by default, so confirm that encryption at rest is enabled and that RBAC limits who can read the namespace. Done whenkubectl get secretlists the Secret name and key names with no values printed. Rollback: delete the Secret, then delete the namespace if it holds nothing else.Set values for replicas, storage and exposure
Write a values file that pins the replica count to 1, sets the PVC size and StorageClass, chooses the Service type and leaves ingress disabled for now. List the available StorageClasses with
kubectl get storageclassand choose one that supports the access mode the chart requests. Confirm each key name against the chart's own values file, because key names can change between chart versions. Done whenhelm templaterenders without errors and the rendered Deployment shows one replica and the PVC you expect. Rollback: edit the file and render again, since nothing is in the cluster yet.Run the Helm install with the values file
Run
helm installwith a release name, the target namespace and the values file, adding--waitso Helm holds until the resources report ready. Record the release name and chart version in your change log. Done whenhelm statusshows the release as deployed andhelm listin the namespace shows the chart version you recorded. Rollback:helm uninstallremoves the release, but check whether the PVC survives, because stored data may remain. Confirm the chart's retention behavior before you delete anything that holds evaluation results.Verify pod readiness and PVC binding
Check that the single pod reaches Ready with
kubectl get podsand that the PVC shows Bound withkubectl get pvc. If the PVC stays Pending, readkubectl describe pvcfor StorageClass or capacity errors. If the pod restarts, readkubectl logsand the pod events fromkubectl describe podbefore you change anything. Done when the pod shows 1/1 Ready, the PVC shows Bound and the logs show the server started without errors. Rollback: correct the values file and runhelm upgrade, or uninstall if the release cannot be recovered.Confirm the UI answers through a port-forward
Run
kubectl port-forwardagainst the Service and open the local address in a browser to confirm the UI loads. The server has no built-in login, so a port-forward keeps access on the operator's workstation during the check. If the team will connect the CLI, install Node.js 22.22.0 or newer on each workstation, the minimum that the promptfoo 0.124.1 npm release requires. Done when the UI loads and an API call returns a response. Rollback: stop the port-forward, since nothing in the cluster changes.Expose the service through ingress
Only after the port-forward check passes, enable ingress in the values file with the host name your network team controls, then run
helm upgradewith the same values. Keep the replica count at one. The server has no SSO, RBAC or built-in authentication, so put your own access controls in front of the ingress before any user reaches it. Done when the host name resolves, the TLS configuration your platform requires is valid and the UI answers through the ingress. Rollback: set ingress back to disabled and runhelm upgradeagain.
Security controls to put around a promptfoo Helm deployment
The self-hosted promptfoo server has no built-in login, RBAC or SSO, so the cluster, the network and the release process carry the access controls a reviewer will ask about. Settle these six controls before the release is shared with a team. Each one is a topic to confirm in your own cluster, against your own chart values and policies.
Authentication in front of the server
The promptfoo server has no built-in login, so anyone who can reach its Service can use the web UI and API. Put an authenticating layer in front of it, such as an ingress with an auth proxy or an API gateway tied to your identity provider. Check that the Service is not reachable through a second route, and that the layer covers every path the UI and API use. Confirm that no unauthenticated path reaches the pod.
Self-hosting docsProvider API keys in Secrets
Keep provider API keys in a Kubernetes Secret and confirm how the chart references it. Secrets are stored unencrypted in etcd by default, so enable encryption at rest for the API server's storage before the keys are loaded. Limit get, list and watch on Secrets in the namespace to the service account and the people who need them, since list and watch expose every value at once. Decide whether an external store through the Secrets Store CSI Driver fits your standard.
Secrets good practicesPod Security Standards for the namespace
Pod Security Standards define profiles that restrict what a pod may do, and a namespace opts in through labels that set enforcement. Pick the profile your organization can meet, then apply it to the namespace that holds promptfoo. Test the release in a non-production namespace first so a blocked pod surfaces before go-live. Then check the chart's security context values, including running as non-root, disabling privilege escalation and dropping capabilities, because the pod must satisfy the profile you enforce.
Pod Security StandardsNetwork policy and model egress
Network policy controls which pods and addresses can reach the promptfoo pod, and it takes effect only when the cluster's network plugin enforces it. Allow ingress only from the ingress controller that fronts the server. For egress, list every destination the release contacts, then allow the model provider endpoints and any proxy your team routes through, and deny the rest. Confirm enforcement with a test connection to an unlisted destination before you rely on the policy.
Cluster RBAC for release changes
The people who can run helm upgrade, change values or roll back a release can change which image runs, which Secrets it mounts and how it is exposed. Bind those permissions to a named group, kept separate from read access to the namespace. Keep the release values in version control so each change leaves a record. Review the role the chart's service account receives, and confirm it holds no cluster-wide permissions it does not need. Confirm that audit logging captures these changes.
Backups of the data volume
The server keeps its data in a local SQLite database on the persistent volume, and a single replica is the only copy. Back up the database file and any blob files together, on a schedule your team sets. Copying a live SQLite file can capture an inconsistent state, so stop the server or use a storage snapshot taken at a consistent point. Restore a backup into a test namespace to prove it works, and confirm retention and who may run a restore.
What buyers ask about deploying promptfoo on Kubernetes
What drives the effort of deploying promptfoo on Kubernetes?
The effort is set by a handful of decisions that should be made before installation starts. Cluster access determines how quickly the namespace, secrets and chart values can be applied. The storage class and PVC size decide where the single SQLite database lives and whether it survives pod restarts. Ingress and identity decisions determine how users reach the server, since the self-hosted app has no built-in login. Provider keys and egress approval control whether the server can reach model APIs from your network. Validation against your own evals comes last, and it is where gaps in the earlier decisions usually surface.
Can our internal platform team deploy promptfoo on Kubernetes alone?
A team that already runs Helm releases and manages its own ingress, storage and TLS can usually install the chart itself. The harder part is owning the decisions behind the install: who approves cluster access, which identity pattern protects the login-less server, how provider keys are stored and how egress is approved. Teams should also decide who owns upgrades, backups and the single-replica limit after go-live. A partner is useful when you want the setup reviewed against your security baseline, documented for internal and external reviewers and tested before handover. Engagements are fixed-scope, so the split of work between your team and a partner is written down before anyone starts.
What does DeployOpen need from our team to start a Kubernetes deployment?
DeployOpen needs cluster admin access, or a named administrator who can act for the engagement, plus a dedicated namespace for promptfoo. Your team also provides DNS records and TLS certificates for the chosen hostname, confirms the storage class and approves the egress path to model providers, and agrees a change window for the install. The written scope should name the clusters, accounts and networks involved. Confirm early whether those clusters are reached through a bastion host, a VPN or a privileged access tool, because each one changes the access request and the lead time for approvals.
How long does a promptfoo Kubernetes deployment take?
The schedule is set in the written scope, and no single duration fits every environment. Length depends mostly on how many decisions are already settled when work begins. An existing ingress controller, a known storage class and approved provider keys shorten the path. New approval processes, network changes or identity integration lengthen it. Validation against your own evals and the handover of runbooks take time that teams often underestimate. Ask for a schedule that lists each milestone, the client actions each one depends on and the change window it needs. DeployOpen does not publish a price list, and a quote follows from the written scope.
What recurring work follows a promptfoo Kubernetes go-live?
Recurring work covers upgrades of the promptfoo release and chart, backups of the data volume and cluster version changes. Kubernetes ships roughly three minor releases per year, and the project maintains only the three most recent minor versions, so the cluster needs a planned upgrade cadence. The version skew policy requires the API server to move one minor version at a time, with kubelets allowed to trail it by up to three minor versions. Backups must capture the SQLite database consistently with the data directory. Retainers can cover upgrades, continuous testing and ongoing support, so ask for those terms in the quote.
Should we scale the promptfoo Helm chart beyond one replica?
No. Keep the chart at one replica, because the self-hosted server stores its data in a local SQLite database that cannot be shared across replicas. Each additional pod would hold its own copy of the data, so an eval or red team job started on one pod can be missing or stale when a user reads results from another. The self-hosted app also lacks horizontal scaling. If your load or team size requires several replicas, that points to a different architecture, which is a decision to make in the scope before installation.
When is promptfoo On-Prem or another setup a better path than the Helm chart?
Choose On-Prem or another setup when you need capabilities the self-hosted server does not provide, such as team sharing, role-based access control, SSO, or a production-grade authentication model. The self-hosted server has no RBAC, horizontal scaling, built-in authentication or SSO, and promptfoo's documentation does not recommend it for production use. promptfoo On-Premise runs the Enterprise functionality on your infrastructure with complete data isolation and a dedicated deployment engineer, priced by promptfoo on request. If one small team needs private evals behind your own access controls, the Helm chart may be enough, provided the single-replica limit and backups are owned.
Limits of the promptfoo Helm chart to confirm in your cluster
The chart inherits limits from the promptfoo server and from the cluster it runs in. Some you can work around with platform controls, and others mean the deployment stays a single-instance tool. Confirm each item with the owner named on its card before you approve the install, and record the answers in your change ticket.
Experimental chart values
The promptfoo Helm chart is experimental, and its values may change between releases. A key you set today could be renamed, removed or change its default after an upgrade, and that can alter replicas, storage or service settings without an obvious error. Pin the chart version in your deployment pipeline, read the release notes before each upgrade, and compare rendered manifests with helm template before you apply them. Ask the chart repository maintainers which values they treat as stable.
One replica, one SQLite file
The server keeps its data in a local SQLite database, and that database cannot be shared across replicas. The chart therefore runs one replica backed by one persistent volume claim. Raising the replica count, or letting a second pod mount the same volume, risks corrupted or split results. Ask promptfoo whether the database format and locking behave the same in the version you pin, and size the volume and StorageClass for growth you have not yet measured. Read the self-hosting docs
No built-in authentication or roles
The self-hosted server has no RBAC, SSO or built-in authentication, so anyone who can reach the service can use it. Treat access as a platform control. Restrict ingress to your corporate network or place an authenticating proxy in front of the service, and apply network policies so only approved namespaces can connect. The cluster owner confirms the ingress and network policy. Promptfoo confirms whether its Enterprise edition, which lists SSO and access control, is the only in-product option for your requirements.
No horizontal scaling
Adding replicas or attaching a Horizontal Pod Autoscaler does not spread evals across pods, because the server cannot scale out without breaking jobs. If you need more capacity, give the single pod more CPU and memory through resource requests that match your heaviest eval. Ask promptfoo whether a pod restart interrupts running jobs in the version you pin. The cluster owner confirms that autoscaling is disabled for this workload.
Kubernetes minor versions in support
The Kubernetes project maintains the three most recent minor releases. As of September 2026, these were 1.37, end of life October 28, 2027, 1.36, end of life June 28, 2027, and 1.35, end of life February 28, 2027. That list has moved since then, so check the current list before you choose a cluster version. The cluster owner confirms that the target minor version still receives patches for the period you plan to run it. Kubernetes releases
Upgrade the control plane first
The Kubernetes version skew policy requires kube-apiserver to be upgraded before kube-controller-manager, kube-scheduler and kubelets, and only one minor version at a time. Kubelets may run up to three minor versions older than kube-apiserver. Plan the node pool upgrade so the promptfoo pod is not left waiting on a node that falls outside that window. The cluster owner confirms the upgrade sequence before each cluster upgrade. Ask promptfoo which Kubernetes versions the chart was tested against. Version skew policy
How DeployOpen scopes and delivers a promptfoo Kubernetes deployment
DeployOpen plans and builds a promptfoo Kubernetes deployment inside your own cluster and cloud account, so your platform team controls the namespace, storage, network path and access controls. Because the experimental Helm chart runs a single replica and the server has no built-in authentication, we treat the access layer and storage as part of the scope from the start. Most engagements are fixed-scope, with deliverables agreed in writing before work starts.
How we scope
- We confirm the promptfoo version, chart source and Kubernetes distribution the cluster will run before writing the plan.
- The written scope fixes the PVC size, StorageClass, service type and ingress design, and who owns each of them.
- Scope also covers the access layer in front of the server, because the app has no built-in authentication.
How we build
- We install the chart with one replica and pinned versions, and record every value that differs from defaults.
- We set up persistent storage on the chosen StorageClass and verify that data survives a pod restart.
- We store provider keys in Kubernetes Secrets, confirm etcd encryption at rest, and restrict access with least-privilege RBAC.
How we hand over
- Handover can include the Helm values files, rendered manifests and a runbook for install, upgrade and rollback.
- Documentation records the single-replica limit, the SQLite data location and what must not be scaled out.
- Your team gets a verification checklist to confirm storage, ingress and access controls after each change.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Upgrades are planned against the release notes and tested in a separate namespace before production.
- Kubernetes version skew and end-of-life dates are checked against the cluster before each platform upgrade.

