Deploying OpenBao on Kubernetes with the Helm chart

A production OpenBao release on Kubernetes depends on the chart mode, the storage backend, the Kubernetes version and how TLS is handled. This page covers each decision and the checks to run before and after every install and upgrade.

On this page

Deploying OpenBao on Kubernetes with Helm: what the chart sets up and when you need it

The official OpenBao Helm chart is the packaged way to deploy OpenBao on Kubernetes, and for a platform team it turns a set of manifests into one versioned release with values you can review. Your situation is likely this: OpenBao must hold secrets and issue dynamic credentials inside clusters you control, and the security and compliance reviewers need to see exactly what will be deployed before it runs. The chart is the starting point for that review, but it is only one layer. The chart deploys OpenBao; it does not design the rest of the system. Storage, unseal, authentication and TLS all still need decisions of your own.

The chart supports several modes, and the difference between them matters more than the install command. A dev mode install runs a single server with in-memory storage and an unseal key handled for convenience, which is useful for trying the product and unsafe for anything holding real secrets. A production release uses a standalone server with persistent storage, or an HA deployment with integrated Raft storage or an external backend, plus TLS, an unseal method you have chosen deliberately and a service account for each consumer. Confirm which mode values you will use against the chart's own documentation for the version you pin, because mode names and defaults change between chart releases.

The chart is still maturing, so treat every change to it as a planned event. Pin the chart version, keep your values files in version control, and run each install and upgrade with --dry-run first so you can inspect the rendered manifests before they reach the cluster. OpenBao is licensed under MPL-2.0 and is a community project under Linux Foundation stewardship through the OpenSSF Sandbox, so the release and support model is set by that community, not by a vendor contract. Check the current chart and OpenBao release notes before each planned change, since a chart update can alter what the release renders.

How the chart's pods, storage, TLS and clients fit together

The diagram starts with workloads and operators calling the OpenBao Service inside the cluster. Requests reach the active pod, while standby pods hold the same storage view and take over through the storage lock. The integrated Raft path keeps data on pod volumes inside the cluster, and the PostgreSQL path moves it to a database outside the trust boundary. Check the TLS certificate source, the Kubernetes API access used for auth and service registration, and any external seal or key store, because those are the hand-offs where trust changes. This is a planning view, and exact resource names depend on the chart version.

Planning view of a production OpenBao release on Kubernetes, with trust boundaries and storage options.

Choosing dev, standalone, HA or external mode

This table compares the four modes the OpenBao Helm chart is planned around, looking at intended use, the storage each implies, production suitability, upgrade and recovery effects, and the decision question that points to each. Read each row as a filter: answer the final question first, then check the storage and recovery cells before you commit to a values file.

ModeIntended use and storageProduction suitabilityUpgrade and recovery effectsChoose it when
DevSingle server, in-memory storage, auto-unsealed in memory; intended for testing and learning only.No. Data is lost when the pod restarts, so it must not hold production data.Recovery means reinstalling and reloading secrets; nothing persists across restarts to upgrade or restore.You need a throwaway instance to test a policy, integration or chart value.
StandaloneSingle server with persistent storage on a volume; one node and no failover.Limited. Suits non-critical workloads where a short outage is acceptable, and the storage backend must be confirmed for your environment.Upgrades restart the only server, so secrets are unavailable during the rollout; recovery depends on volume and backup handling you own.A small non-critical environment needs persistence without the cost of a clustered design.
HA with integrated RaftMultiple pods forming a Raft cluster, with one active node and standbys; requires the Raft integrated storage backend, which OpenBao documents as officially supported for HA.Yes, when you run the planned node count, persistent volumes, and tested snapshots and restores.Rolling upgrades are possible but must be sequenced one pod at a time; losing quorum requires a documented recovery procedure and a recent snapshot.You need failover for production secrets and can operate Raft storage and its backups.
HA with PostgreSQLMultiple pods sharing an external PostgreSQL database as the storage backend; PostgreSQL is officially supported for HA.Yes, when the database is itself highly available and backed up under your database standards.Upgrades of OpenBao and PostgreSQL are separate events; recovery relies on the database's backup and point-in-time recovery, which you must confirm.Your organization already runs and supports PostgreSQL with a tested recovery process.
ExternalOpenBao runs outside the cluster, and Kubernetes workloads reach it over the network through the chart's client endpoints or ingress.Depends on where it runs; the cluster-side settings are only one part of the production design.Upgrades and recovery follow the external platform's process, so the Helm release may only manage clients or connectivity.Your OpenBao servers are managed on separate infrastructure and the cluster needs only to consume them.
Mode choice and TLSAll production modes need TLS on listener and cluster traffic, and certificate sources must be decided before the first install.Required for production; confirm certificate issuance and rotation with your platform team.Certificate expiry or a changed CA can stop a cluster from forming or serving, so plan renewal alongside upgrades.You have an agreed certificate source for OpenBao and its peers.
Dry-run checkEach mode is rendered and checked with a --dry-run install or upgrade before it is applied, while the chart matures.Use the dry run for every production change, regardless of mode.A dry run shows rendered manifests but does not prove the cluster will form or unseal, so test restores separately.You want to catch values mistakes before they reach a running cluster.

Kubernetes prerequisites that decide whether the release holds

The OpenBao chart runs on top of a cluster you already operate, so the Kubernetes version, the control plane design, the upgrade rules and the state store all constrain the release. Each card below is a fact to confirm before the first install, and each one feeds the chart version check.

Confirm the supported Kubernetes minor versions

As of September 2026, the Kubernetes project maintains 1.37 (end of life October 28, 2027), 1.36 (June 28, 2027) and 1.35 (February 28, 2027). Ask the platform team which minor version and distribution each cluster runs, and whether any cluster is outside that window. Then check the OpenBao chart release notes for the Kubernetes versions that chart version was tested against, and record the match in the change ticket. Do not assume the newest chart supports an older cluster.

Kubernetes releases

Plan upgrades with the version skew rules

The version skew policy requires kube-apiserver to be upgraded one minor version at a time, before kube-controller-manager, kube-scheduler and kubelets. Kubelets may be up to three minor versions older than kube-apiserver. Sequence any cluster upgrade around the OpenBao release window so that a pod rescheduled during the upgrade does not land on a node the chart was never validated against. Record the planned order before the change starts.

Version skew policy

Design kubeadm HA control plane nodes

For a production control plane built with kubeadm, the HA guide describes a stacked topology with etcd on the control plane nodes or an external etcd cluster, with at least three control plane nodes. Put a TCP load balancer in front of kube-apiserver on port 6443 so OpenBao workloads and operators reach a stable endpoint during a node failure. Confirm with the platform team which topology they run and who owns the load balancer.

Back up etcd and encrypt Secrets at rest

Kubernetes stores Secrets unencrypted in etcd by default. Any Secret that holds the OpenBao unseal material, TLS keys or S3 snapshot credentials is readable from etcd backups unless encryption at rest is configured. Ask who owns etcd backups, how often they run, and whether a restore has been tested with the etcd snapshot and restore tools. Restrict list and watch access on Secrets with least-privilege RBAC.

Secrets good practices

Raft or PostgreSQL storage and TLS: the two choices that shape the values file

Integrated storage (Raft) keeps OpenBao's data inside the OpenBao pods themselves, so the cluster is self-contained and needs no separate database to install. On Kubernetes this means each server pod runs as part of a StatefulSet with its own persistent volume, and each pod needs a stable node identity so it rejoins the same Raft peer set after a restart or reschedule. The OpenBao HA documentation names integrated storage as one of the two officially supported HA backends.

  • Persistent volumes per pod: Each pod's Raft data lives on its own volume. Confirm the storage class, volume size and reclaim policy with your platform team before the first install.
  • Node identity: Every member needs a unique, stable identity that survives pod rescheduling. Plan this with the chart's Raft settings rather than assigning identities by hand.
  • Odd member count for quorum: Raft needs a majority of members to commit writes, so run an odd number of voters, such as three or five, and spread them across failure domains where your cluster allows it.
  • Read-only standbys: Since OpenBao 2.5.0, Raft standbys can serve read-only operations, which spreads read load across the cluster.
  • Backup ownership: The snapshots are your responsibility. Schedule them and test restores on a separate cluster.

Before committing, ask your DeployOpen or internal team to confirm the member count, volume class and snapshot target that your recovery objectives require.

Setup sequence from a dry run to a verified install

This sequence takes the chart from a version check to a tested, initialized and backed-up OpenBao cluster, with a checkpoint at each step so the team can stop and correct before anything reaches production. Each stage produces an artifact the next stage depends on.

  1. Confirm Kubernetes and chart versions

    The platform engineering lead checks the target Kubernetes minor version against the supported releases page and the version skew policy, then pins the OpenBao chart version and the matching OpenBao server image in writing. Confirm that the cluster's kube-apiserver version is one the chart's documentation covers and that node versions fall within the allowed skew. Done when the chosen chart version, server image tag and Kubernetes version are recorded in the change ticket and nobody is relying on a floating latest tag.

  2. Choose the deployment mode and storage

    The architect selects dev, standalone, HA or external mode and the storage backend before writing any values. Dev mode is for experiments only and is not a production option. For production, the team decides between integrated Raft storage on StatefulSets and PostgreSQL, weighing the project's note that PostgreSQL is easier to operate safely than Raft. Record the decision, the number of replicas and the persistent volume class. Done when a one-page decision record names the mode, the backend and the reason for each.

  3. Create namespace and TLS secrets

    The cluster operator creates a dedicated namespace, applies the Pod Security Standards level the team has agreed for it, and loads the TLS certificate and key as Kubernetes Secrets issued from the internal certificate authority. Keep private keys out of the values file and out of shell history. Confirm the certificate subject alternative names cover the service names pods will use for cluster communication and client access. Done when the secrets exist, the certificate chain verifies against the CA bundle, and the namespace shows the expected labels.

  4. Write the values file under version control

    The engineer writes the values file with the chosen mode, replica count, storage settings, TLS references, resource requests and the server configuration, then commits it to the infrastructure repository with review. Secrets are referenced by name, never inlined. Keep the file in the same repository as the cluster definitions so changes go through the same approval path. Done when a peer has reviewed the file, the diff is merged, and the commit hash is recorded alongside the chart version.

  5. Run install or upgrade with dry-run review

    The engineer runs the helm install or helm upgrade command with the --dry-run flag against the pinned chart version and values file, then saves the rendered manifests for review. Check the StatefulSet, Services, ServiceAccount, RBAC objects, configuration map and any injector resources, looking for unexpected image tags, open network exposure and missing TLS mounts. Repeat the dry run after every values change, because the chart is still maturing and defaults can shift between versions. Done when the rendered output matches the reviewed intent and a second engineer signs off on the saved manifests.

  6. Apply to a non-production cluster first

    The team installs the same chart version and values file on a non-production cluster that matches production as closely as practical, including Kubernetes version, storage class and network policy. The platform team runs the install, watches pod startup and volume attachment, and tests client access from a sample workload. Record any differences from the dry run and fix the values before promotion. Done when the non-production release is healthy, the pods have started cleanly and the defects found are closed in the repository.

  7. Initialize and unseal with planned key custody

    Before initializing the production cluster, the security owner documents who holds unseal material, how it is split and stored, and what happens if a holder leaves. The operator then initializes the first node and unseals the cluster according to that plan, so no single person ever holds the full recovery material. Confirm the custody record names every holder and location. Done when the cluster reports initialized and unsealed, the root token is handled under the written procedure, and the custody record is signed off.

  8. Confirm active and standby roles

    The operator checks the status of each pod to confirm one node is active, the others are standby and every member is healthy and joined to the cluster. For Raft, list the peers and confirm the expected count. Check that the Kubernetes service used for active routing points to the active pod and that a restart of a standby does not disrupt client traffic. Done when the peer list matches the replica count, the active service resolves to the leader and a test write and read succeed through it.

  9. Take and test a backup

    The operator takes a Raft snapshot or the equivalent backup for the chosen backend, stores it outside the cluster, and restores it into a separate test environment to prove it is usable. The restore test should confirm that expected secrets and auth configuration are present after restoration. Record where backups are stored, who can read them and how often the restore test repeats. Done when a restore has been completed and verified in the test environment, and the backup location and access list are documented.

Security controls to set before the first pod starts

The Helm chart installs quickly, but the controls that matter most for an OpenBao release are decisions made before the first pod starts. Each card below is a control to plan, assign and verify in a dry run, with the owner named before the install, not after.

TLS on every listener and peer link

Plan certificates for the OpenBao API listener and for node-to-node traffic in the Raft cluster, so that no listener accepts plaintext. Decide who issues the certificates, how they are rotated, and which CA the Kubernetes workloads trust. Check the chart values for the TLS settings you intend to use, and confirm in a dry run that the rendered configuration references the secret names your team created.

OpenBao HA docs

Least-privilege RBAC for service accounts

Limit which service accounts can read Kubernetes Secrets in the OpenBao namespace, because bootstrap material such as unseal keys or snapshot credentials often lands there. Grant list and watch access sparingly, bind roles to named groups instead of individual users, and review the bindings that the chart creates. Confirm with a kubectl auth can-i check for each identity that needs access.

Pod Security Standards for the namespace

Label the OpenBao namespace with the Pod Security Standards level your cluster enforces, and confirm the chart's security context settings pass that level before the first install. Pods that need extra privileges for storage or the injector should be identified now, because relaxing the namespace later is harder to audit. Compare your namespace labels with the CIS Kubernetes Benchmark as a reference for cluster hardening.

Pod Security Standards

Root token and unseal key custody

Decide before initialization who holds each unseal key share, where the root token is stored, and how it is revoked once administrators have their own identities. Record the custodians and the storage location for each item, and rehearse the unseal procedure with them. Avoid storing these values in a Git repository or a values file that enters a pipeline.

Audit log destination

Decide where OpenBao's audit devices write before the first request is served, since requests made without an enabled audit device can be refused. Choose a destination that the security team can read, set retention that matches your policy, and confirm that log shipping from the pods reaches it. Test by generating a request and finding it in the destination.

etcd encryption at rest for bootstrap secrets

Kubernetes stores Secrets unencrypted in etcd by default, so any bootstrap material placed in a Kubernetes Secret is exposed to anyone who reads the etcd data. Confirm with your platform team that encryption at rest is configured for the cluster's Secret resources, and restrict snapshot and backup access to etcd. Ask the distribution owner to show the encryption configuration in writing.

Secrets good practices

Why every install and upgrade runs with --dry-run while the chart matures

Run every install and upgrade of the OpenBao Helm chart with helm upgrade --install --dry-run first, and save the rendered output, because a chart that is still maturing can change default values, rename resources or alter rendered manifests between versions. A dry run shows what the chart would send to the cluster before anything changes. Pull the rendered manifests for the running release with helm get manifest and diff them against the new render. Confirm which chart and OpenBao image versions you are moving between, since the image tag and the chart version are separate settings that can both change.

Read the diff for three things. First, changes to the StatefulSet's pod template, such as image, environment variables, volume mounts, probes or the server.ha.raft configuration block, because these can roll each Raft member in turn and trigger a leader change. Second, changed Services, particularly the active and standby selectors, since these decide which pod receives client traffic. Third, removed or renamed Secrets, ConfigMaps and ServiceAccounts, because a renamed unseal or TLS secret can stop a pod from starting. Ask the storage owner to review any change to the Raft or storage configuration, and the seal owner to review anything touching unseal keys or auto-unseal settings, before the change is approved.

A dry run does not test the running cluster's data, its Raft quorum, or whether the pods unseal after restart, so it complements a staging upgrade and a restore test but does not replace them. Rehearse the upgrade on a non-production cluster built from the same values file, then confirm that a snapshot can be restored there. Treat the reviewed diff as the change record for the release, and keep it with the snapshot and the rollback values.

Limits to confirm for your chart version and cluster

The chart, the OpenBao image it pins, the Kubernetes version under it and the defaults it ships with all move independently. Confirm each item against the chart repository and the project's release notes before you write a values file or plan a release window.

Chart version and pinned image

Record the exact chart version and the OpenBao image tag it deploys, because the chart and the server image can be pinned separately. The latest supplied release is v2.7.1, released October 1, 2026, with v2.6.4 released the same day for the previous minor line. Check whether your chart's default image is on a supported line, and whether you are overriding the tag. Confirm both in the chart repository and the OpenBao releases page.

OpenBao releases

Kubernetes version support

Confirm that the chart version you pick is tested against the Kubernetes minor version in your clusters, and that the chart's documentation says so. Kubernetes maintains only its three most recent minor releases, so a cluster on an older minor may already be outside the upstream support window. Check the Kubernetes releases page for end-of-life dates before you choose a target.

Supported minor releases
3
Kubernetes releases

StatefulSet upgrade behavior

The server runs as a StatefulSet, so an upgrade can restart pods one at a time while Raft membership, unseal state and persistent volumes stay in place. Ask the chart maintainers how it orders pod restarts, whether it changes selectors or volume claim templates between versions, and whether a change forces recreation. Test a chart upgrade with helm upgrade --dry-run against a copy of your cluster before any production change.

Defaults versus production HA

Chart defaults are often built for evaluation, not for a three or five node highly available cluster. Compare the default server.ha settings, storage configuration, TLS, resource requests, anti-affinity and disruption budgets with your design. Anything the defaults leave out, such as a PodDisruptionBudget or a fixed TLS secret, needs an explicit value in your release. Confirm each default in the chart's values.yaml for the version you pin.

Migration rules from Vault

If the cluster replaces an existing Vault server, the migration guide governs which steps apply. The guide describes in-place replacement of the server process with configuration, endpoints and URLs unchanged, and it was tested only against Vault 1.14.1 community edition, not Vault Enterprise. Clusters bootstrapped before Vault 1.3 may need a rekey, and disable_mlock must be removed from configuration because OpenBao stopped using mlock in 2.0.0. Confirm these steps against your source version before you plan the cutover.

Migration guide

Support status of the chart

Establish who maintains the chart, what release and security-fix commitments it carries, and whether it has a documented deprecation policy. Read the chart repository's maintainers file and recent issues before you rely on a specific chart line. Ask the vendor or community for written support terms if your organization needs them, and record the answer in your change record.

What is OpenBao

What does a production OpenBao Helm release cost and take to deliver?

What drives the effort of a production OpenBao Helm release?

The biggest drivers are the state of the target cluster, the storage choice, how the root key is protected, how TLS and identity are integrated, and how many environments must be built. A clean cluster with managed certificates and an existing identity provider is far less work than a shared cluster with unclear network policy and no agreed key custody model. Your team's Kubernetes maturity matters as much as the platform: staff who already run StatefulSets, persistent volumes and RBAC will move faster through design reviews and failure testing. Ask any partner to show how each of these factors changes its scope before you compare quotes.

Which parts of an OpenBao Helm release are one-time work?

One-time work covers the architecture decisions, the initial chart values, the install into each environment, TLS and identity wiring, the first initialization and seal ceremony, failure and recovery testing, and the runbooks your operators will follow. These activities happen once per environment, although they are revisited when the design changes. Build the staging environment first so that install and recovery steps are rehearsed before production. Expect the written scope to list each of these items as a separate deliverable so you can see what you are paying for.

Which parts of running OpenBao on Kubernetes recur after go-live?

Recurring work includes reviewing each OpenBao chart and image release, upgrading the Helm release, planning the Kubernetes upgrades that the cluster needs, and checking that the cluster still matches the supported version range. Kubernetes publishes about three minor releases at a time, and the project maintains the three most recent minor releases (1.37, 1.36 and 1.35 as of September 2026), so a cluster falls out of support on a predictable schedule. Restore tests also recur, because a backup that has never been restored is not yet proven. Ask whether a retainer covers these tasks and how often restore tests are included.

Can our team deliver a production OpenBao Helm release without outside help?

Yes, a capable platform team can deliver it alone if it has the official documentation, a staging cluster that mirrors production, and a named owner for key custody. The hard parts are less about YAML and more about deciding who holds unseal material, how recovery works when a node is lost, and how the team proves a restore. Teams that succeed usually write those decisions down before the first install and rehearse failure scenarios in staging. Outside help is most useful for an independent design review, for building the test plan, or for working through the first production change window.

What do we need to provide before a DeployOpen engagement starts?

You provide access to the Kubernetes clusters in your own infrastructure, including cloud accounts, data centers or air-gapped networks where they run. You also need named decision makers for storage, seal and key custody, and identity integration, because those choices shape the design. Confirm the change windows your organization allows for staging and production, and the people who must approve each one. DeployOpen plans, implements and documents the work inside your environment, so the client controls where secrets and keys reside at every stage.

How do we get a quote for an OpenBao Helm release?

DeployOpen does not publish a price list. A quote follows from a written scope that agrees the environments, the storage and seal design, the TLS and identity integrations, the deliverables, and the timelines before work starts. To make comparison fair, ask every provider to price the same list of deliverables, to state which items are one-time and which are recurring, and to name who is responsible for key custody. Ask whether upgrades, restore tests and Kubernetes upgrade planning are included or sold as a separate retainer.

Does the OpenBao Helm chart work in every Kubernetes version, and what should we confirm?

Do not assume that any chart version works on every Kubernetes release. Check the chart and OpenBao release notes against the Kubernetes version you run, and plan your cluster upgrades within the version skew rules, which require the API server to move one minor version at a time. Kubernetes 1.37 is the current minor release and 1.35 is the oldest one still maintained as of September 2026. Confirm the exact compatibility for your chart and image versions with the OpenBao project before the design is signed off.

What happens to the cost if we run several environments?

Each environment adds install, configuration, testing and runbook work, although the design can be reused across them. Staging, pre-production and production usually differ in network policy, identity tenants and seal configuration, so each one needs its own verification. Recurring upgrade work also multiplies, because each environment must be upgraded and tested in order. Ask for the number of environments to be stated in the scope and for the reuse of design and automation to be shown in the quote.

How DeployOpen scopes, delivers and supports an OpenBao Helm deployment

DeployOpen plans, builds and documents OpenBao on Kubernetes inside your own clusters and cloud accounts. We agree the scope in writing first, then build and test the chart configuration, and hand over the release with the runbooks your team needs to operate it.

How we scope

  • Confirm which chart mode fits your needs: dev, standalone, HA or external, with the reasons written down.
  • Record your Kubernetes versions, cluster count, TLS requirements and storage backend choice in the agreed scope.
  • Agree in writing which deliverables, environments and upgrade dry runs are included before any work starts.

How we build

  • Write Helm values and server configuration in version control, so every install and upgrade is reviewable.
  • Run each install and upgrade with --dry-run first, and review the rendered manifests before applying them.
  • Configure TLS for the listener and cluster traffic, and test the release in a non-production cluster first.

How we hand over

  • Deliver the chart values, rendered manifests, and TLS and network configuration with a record of each decision.
  • Provide a runbook covering install, upgrade, rollback and the --dry-run review steps your team repeats.
  • Walk your platform and security engineers through the release, including what to check after each change.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, scoped separately from the build.
  • Plan chart and OpenBao version upgrades against the release notes and Kubernetes version support in effect at the time.
  • Confirm with us in the quote how support hours, response expectations and upgrade reviews are defined.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.