Why Besu persistent volumes on Kubernetes need a growth plan before the disk fills
To raise a Besu node's persistent volume claim (PVC) size safely, change the storage size in the Helm values file and apply it with helm upgrade, keeping the storage class and release settings intact so the ledger data survives the change. A Besu node on Kubernetes writes its chain state to a persistent volume, and that volume's size is fixed at deployment unless it is expanded. Once the disk fills, the node stops syncing and writing blocks, so the time to plan growth is before the free space runs low.
Teams usually need this when the ledger is growing faster than the original sizing assumed, when a planned node replacement or re-sync is coming and the new volume must be large enough from the start, or when the storage budget for the cluster is being reviewed across several workloads. Expansion is a change to a live stateful workload, not a routine config tweak. The pod, its data and its storage backend all stay in service while the claim grows, so the change needs a maintenance window, a current backup and a rollback decision agreed in advance. Confirm the storage size and growth expectations for your own network with your Besu team rather than relying on general estimates.
The Besu production charts on Azure use Azure Files and on AWS use EBS, and both storage types allow volume expansion, according to the Besu Kubernetes maintenance docs. The documented path is to raise the PVC size in the values file and apply it with helm upgrade. Before you do this, check that your own storage class sets allowVolumeExpansion: true, that your cluster's CSI driver supports online expansion for your storage type, and that the filesystem will grow on the node. Read the Besu Kubernetes maintenance guide for the exact steps used by the chart version you run.
Which storage and Helm settings to decide before the first resize
This table compares the four settings that shape how a Besu volume can grow: the storage class, the PVC size in Helm values, the reclaim policy and the storage backend. Read each row for when the option fits and what it costs you, then check the choices against your own cluster before the first resize.
| Decision | Option | Trade-off | When to choose it |
|---|---|---|---|
| Storage class | A class with volume expansion enabled | Expansion is only possible if the class allows it. A class without it forces a new volume and data copy. | Any cluster where the chain is expected to outgrow its first volume size |
| Storage class | A class without volume expansion | Growth requires provisioning a new volume and migrating data, which adds maintenance time. | Rarely a good fit for Besu nodes, unless a planned migration is already scheduled |
| PVC size in Helm values | Set a size with headroom for expected ledger growth | A larger starting size costs more storage from day one, but reduces how often you resize. | When you can estimate growth from your own sync and monitoring data |
| PVC size in Helm values | Raise the size value and apply with helm upgrade | The size only increases through the values file. Confirm the change applies to the PVC in your environment before relying on it. | When the storage class supports expansion and you have tested the change in a non-production release |
| Reclaim policy | Retain | Volumes survive deletion of PVCs and PVs, protecting ledger data. Unused volumes must be cleaned up by hand, and they keep incurring storage cost until removed. | Production networks where losing node data would force a costly resync or recovery |
| Reclaim policy | Delete (cluster default) | Deleting a release also removes its volume. Accidental deletion can destroy node data unless a backup exists. | Only where a verified backup or rebuild path exists and the node is disposable |
| Storage backend | Azure Files in Besu's production charts | Confirm that your Azure Files configuration supports the expansion behavior you expect in your cluster version. | When your Besu nodes already run on Azure AKS and the platform team manages Azure storage |
| Storage backend | AWS EBS in Besu's production charts | Confirm the EBS CSI driver and volume type in your cluster support expansion before you depend on it. | When your Besu nodes already run on AWS EKS and the platform team manages EBS volumes |
How a Helm value change reaches the node's data directory
The flow starts when the operator raises the PVC size in the Helm values file and runs helm upgrade. Kubernetes then asks the storage class to expand the volume, and only a class that allows expansion lets that request proceed. The storage backend grows the volume, and the node's filesystem picks up the new space. If the storage class does not allow expansion, or the resize fails, the team goes back to the storage configuration before repeating the change. This is a general flow, and the exact behavior depends on the storage backend.
General flow from a Helm values change to a larger node data volume.
What changes between Azure Files and AWS EBS during a resize
Besu's production charts on Azure reference Azure Files, and Besu's maintenance documentation lists it among the backends that allow volume expansion. The resize itself is driven from the chart: you raise the PVC size in the values file and apply the change with helm upgrade. Before you start, confirm that the storage class in use is one that permits expansion, because a class without that setting will reject the larger claim.
- Storage class: Check that
allowVolumeExpansionis set totrueon the class the PVC references. - Volume and claim: Confirm the current PVC capacity and the bound PV with
kubectl get pvcandkubectl get pv, and record the values before you change anything. - Applying the resize: Update the storage size in the values file and run
helm upgradeagainst the release, then watch the claim status until the new capacity appears. - Share and mount behavior: Confirm with your Azure provider how the file share reports its new size to the pod and whether the node needs a restart before the filesystem reflects the change.
- Verification: Check capacity inside the Besu pod, confirm the node is still syncing, and confirm that the
reclaimPolicyon the class is set as your backup plan expects.
Before the change goes to production, confirm the specifics of expansion behavior for your Azure region and storage tier with your Azure provider.
Besu's production charts on AWS use Amazon EBS volumes, which Besu's maintenance documentation also lists as allowing expansion. The operator still drives the change from the chart, raising the PVC size in the values file and applying it with helm upgrade. EBS is a block device, so the storage class, the cloud volume and the filesystem on the node all have to reflect the new size before the Besu container sees the extra space.
- Storage class: Confirm that the EBS-backed class has
allowVolumeExpansionset totrueand note the volume type the class provisions. - Volume and claim: Identify the bound PV and its EBS volume ID, then record the current capacity so you can compare it after the resize.
- Applying the resize: Change the size in the values file, run
helm upgrade, and watch the PVC until the controller reports the new capacity. - Filesystem growth: Confirm with your AWS provider and the CSI driver version in use whether the filesystem is grown online or needs the pod to restart before the new space is usable.
- Verification: Check free space on the Besu data path from inside the pod, confirm the node resumes normal block import, and verify that snapshots or backups still cover the enlarged volume.
Confirm the volume type, CSI driver behavior and any limits on resize frequency with your AWS account team or cluster administrator before you schedule the change.
Clusters outside Azure and AWS often use on-premises arrays, software-defined storage or a third-party CSI driver. Besu's charts only document expansion for the Azure and AWS paths, so a resize on any other backend is a support question for the storage vendor, not something to assume from the chart. Treat the first resize as a test on a non-production copy of the release, and confirm each step before you touch the ledger volume.
- Vendor confirmation: Ask the storage vendor whether its CSI driver supports online volume expansion and whether the filesystem grows without a pod restart.
- Storage class: Check that the class permits expansion and that the driver version in your cluster is one the vendor lists as supported.
- Volume and claim: Record the PVC capacity, the PV details and the current disk usage on the node so you can compare the result.
- Applying the resize: Run the values change and
helm upgradeonly after the vendor confirms the procedure, and stop if the claim does not show the new size. - Verification and rollback path: Confirm the Besu node restarts cleanly and keeps syncing, and confirm a backup exists before the change, since a failed expansion can leave the volume in a state that is hard to reverse.
Do not treat a successful test on one backend as proof that another backend will behave the same way.
How to expand a Besu PVC through Helm without losing the ledger
This sequence raises the storage behind a Besu node's ledger on Kubernetes through Helm while keeping the existing data, and each step ends with a check that confirms the node is still healthy and syncing.
Confirm the storage class allows expansion
The platform engineer checks the StorageClass that the Besu PersistentVolumeClaim uses and confirms it has allowVolumeExpansion enabled. Besu's production charts on Azure use Azure Files and on AWS use EBS, and both allow volume expansion, but the cluster's own StorageClass is what counts. Run the describe command against the StorageClass named in the PVC and look for the expansion flag. Done when the flag is set to true. If it is missing, confirm with your cluster administrator whether it can be enabled before you go further, since the PVC cannot grow otherwise.
Set reclaim policy to retain
The platform engineer sets the reclaimPolicy of the PersistentVolume behind the Besu node to Retain. Besu's Kubernetes production documentation describes this setting as the way to keep volumes even when PVCs and PVs are deleted in Kubernetes, which protects the ledger if a release is removed by mistake. Patch the PV and then read the field back. Done when the output shows Retain for the volume that holds the node data. Record the PV name, because you will need it if a restore is ever required.
Back up node data and test the restore
The node operator takes a backup of the Besu data directory while the node is stopped or in a consistent state, and stores it outside the cluster. A backup is only useful if it restores, so the operator restores it into a scratch volume and starts a Besu process against it to confirm the database opens and the node reads its chain head. Done when the restored copy starts and reports a block height close to the source node. Keep the backup until the expansion is verified.
Review current PVC size and Helm values
The platform engineer reads the current PVC capacity from the cluster and compares it with the storage size set in the Helm values used for this release. Mismatched values are a common cause of a failed or unexpected upgrade, so confirm which values file the live release was installed from and whether any overrides apply. Run the Helm get values command for the release and the PVC describe command for the claim. Done when both sources report the same current size and the team has written down the target size.
Raise the size in the values file
The platform engineer changes the storage size in the Helm values file under version control so the new capacity is recorded alongside the rest of the node configuration. Only the requested storage size should change in this commit, and the change should be reviewed by a second person. Because a PVC generally can only grow, confirm the new value is larger than the current one and that it matches the capacity your growth estimate calls for. Done when the diff shows one storage value changed and the review is approved.
Run helm upgrade with the new values
The platform engineer runs helm upgrade against the release using the updated values file, with the same chart version as the running release. Keep any Besu version change out of this window. Besu's 26.10.0 release notes state that the Bonsai database auto-upgrades on first start and that older versions cannot open an upgraded database, so a version change in the same window needs its own backup and rollback plan. Done when Helm reports a successful revision and the StatefulSet rolls out without error.
Verify PVC status and filesystem size
The platform engineer checks that the PVC reports the new capacity and that its condition shows no pending resize. Then the engineer opens a shell in the Besu pod and runs a disk usage command against the data directory to confirm the filesystem has grown, since some drivers expand the block device before the filesystem. Done when the PVC status shows the new size and the mounted filesystem shows the added space. If the PVC shows a pending file system resize, wait for the kubelet to complete it before moving on.
Confirm the node restarts and syncs
The node operator watches the pod restart and then checks the Besu logs and the sync status through the JSON-RPC endpoint. The check is that the node starts without database errors, reconnects to its peers, and its block height moves forward toward the network head. Done when the node is syncing or in sync, peer count is back to expected levels, and the metrics endpoint reports the node as healthy. Keep the pre-upgrade backup until this check passes and the node has stayed stable for a period your team agrees on.
What to protect before you change a volume that holds the ledger
Resizing a persistent volume that holds the Besu ledger is a stateful change, not a configuration tweak. The volume holds the chain database, and a mistake in the release or the storage layer can remove it. Two protections come before any size change. The first is the reclaim policy on the storage class. With reclaimPolicy: Retain set, Kubernetes keeps the underlying volume when the PersistentVolumeClaim and PersistentVolume are deleted. With a Delete policy, removing the claim, or deleting the Helm release that owns it, can destroy the ledger along with the claim. Check the policy on the storage class your Besu release actually uses before you touch the values file, and confirm it with the storage team rather than assuming the chart default. The second protection is a backup that you have restored at least once in a test environment, not just a snapshot someone believes exists.
It helps to separate two kinds of rollback. A Helm rollback returns the Kubernetes objects (the StatefulSet, the templates and the values) to an earlier revision. It does not return the data on the volume. If a new release changes the Besu version or the database format, rolling back the chart can start an older binary against data it cannot read. A data rollback means restoring the volume or the node data from a backup taken before the change. The two are independent, and your runbook should name which one you are relying on at each step.
The Besu 26.10.0 release notes make this concrete. The Bonsai database upgrades automatically on first start, and older Besu versions cannot open an upgraded database. So a Helm rollback to the previous image will not recover a node that has already started on 26.10.0. Only a backup taken before that first start gives you a way back. Plan this as part of the change window: take the backup, record the Besu version and chart values in source control, confirm the backup restores, and only then let the new version start. Confirm the release-specific rules for your chosen version in the Besu releases on GitHub page before you schedule the upgrade.
Security and operational risks in volume changes
Volume changes touch more than capacity. The same PVCs and volumes can hold ledger data, node keys and backups, so access and deletion behavior matter as much as the size change. The cards below cover where that risk sits and what to check before you change a live node.
Accidental data loss on release deletion
Deleting a Helm release can remove the PVCs it created, and with the default reclaim behavior the underlying volume may go with them. Check the reclaim policy on the storage class and the PVs before any uninstall, and confirm whether your chart keeps or removes PVCs on delete. Treat a release deletion on a validator as a potential chain-data event, not a cleanup step.
Besu production docsRetained volumes still holding keys
With reclaimPolicy: Retain, volumes survive even after PVCs and PVs are deleted. Those orphaned volumes can still contain the node's private key and full ledger data, so they stay sensitive after the workload is gone. Make a named owner responsible for each retained volume, record where it lives, and decide whether it is archived, encrypted or destroyed.
Unencrypted node key file
Besu's local node private key file is not encrypted. Whoever can read the volume can read the key, so encryption and access control for volumes holding keys must be enforced at the storage layer. Confirm that the storage class encrypts volumes at rest and that only the Besu pod's service account can mount them. For keys that must sit in hardware, review the Besu HSM plugin path instead.
Storage class and PVC access through RBAC
Anyone allowed to patch PVCs or change storage classes can resize, reattach or delete volumes that hold ledger data. Review which roles can create, update and delete PersistentVolumeClaims, StorageClasses and PersistentVolumes, and restrict those verbs to the people who run the upgrade. Check bindings regularly, since broad cluster-admin grants often reach these objects without anyone intending it.
Secrets stored unencrypted in etcd
Kubernetes Secrets are stored unencrypted in etcd by default. Any Secret that holds Besu credentials, JSON-RPC authentication files or key material therefore depends on etcd encryption at rest and on narrow list and watch permissions. Confirm the encryption configuration on your control plane, and consider an external store through the Secrets Store CSI Driver if your policy requires it.
Kubernetes Secrets practicesSnapshots and backups carry the same data
Volume snapshots and off-cluster backups copy the ledger and any key files they contain. They need the same encryption, retention and access controls as the live volume, and often more, because they are easy to copy or export. Confirm who can create, restore and download snapshots, where they are stored, and how long they are kept. Verify the controls against the CIS Kubernetes Benchmark, which you can use as a reference checklist without treating it as a certification.
CIS Kubernetes BenchmarkWhat to confirm with your platform team before the change window
Start by confirming the Kubernetes version in each cluster that runs a Besu node. The Kubernetes project maintains only the three most recent minor releases, so a cluster on an older minor may already be outside support, and a volume expansion that depends on a newer control plane behavior will fail there. Ask the platform team which minor version each cluster runs, when that minor leaves support according to Kubernetes releases, and whether an upgrade is already scheduled. If an upgrade is pending, sequence it before the storage change so the window does not carry two moving parts.
Next, confirm the Besu release in use and read its upgrade notes before touching the chart. Besu ships roughly monthly, and release notes can change storage behavior, database format or required JDK. Note in particular that the Bonsai database upgrades automatically on first start and that older Besu versions cannot open an upgraded database, so a backup taken before the change is the only practical rollback path. Ask whether that backup exists, when it was last restored in a test, and who signs off on proceeding if it cannot be verified.
Finally, confirm that the Besu chart version in use matches the values keys your team plans to edit. Key names for persistent volume size, storage class and retention policy can differ between chart versions, and a key that the chart ignores will change nothing while the rollout still appears successful. Pull the chart version from the release history, render the templates with helm template against your current values, and check the resulting PersistentVolumeClaim size before applying. Do not assume the keys from an older example in a blog post or internal wiki.
Limits to confirm in your environment before you rely on expansion
Volume expansion looks like a single setting change, but it depends on your storage backend, your node filesystem, your chart version and your cluster upgrade calendar. Each card below names one thing to confirm in your own environment before the chain grows into a size limit.
Expansion support for your volume type
Confirm that the storage class you actually use allows volume expansion, and that the specific volume type behind it supports resizing. Besu's production charts on Azure use Azure Files and on AWS use EBS, but a custom storage class or an on-premises CSI driver may behave differently. Check the allowVolumeExpansion setting on the storage class and test a resize on a non-production volume first.
Whether shrinking is possible
Do not plan on reducing a volume after it has been expanded. Ask your storage vendor and your CSI driver documentation whether a PVC can ever be made smaller on your platform, and what the procedure would be if it can. If the answer is unclear, treat expansion as one-way and size the growth plan around that assumption.
Node filesystem growth after resize
Raising the PVC size does not always grow the filesystem inside the volume on the node at the same moment. Confirm whether your CSI driver resizes the filesystem online or requires the pod to restart, and check that Besu sees the new capacity after the change. Verify free space from inside the running container, not only from the Kubernetes object status.
Recovery from a failed or partial resize
A resize can stall, for example when the CSI controller reports an error or the filesystem step does not finish. Write down how your team will read the PVC conditions and events, which pods must be restarted, and who can roll back. Because the Bonsai database auto-upgrades on first start in recent releases, take a backup before any change that also involves a Besu version upgrade.
The chart value key for your version
Confirm in the chart version you run which values key controls the PVC size, and whether that key has been renamed or nested differently in newer releases. Check the release notes for the chart and the Besu maintenance guidance before you run helm upgrade, and render the templates with helm template to see the exact PVC change before it is applied.
Kubernetes version skew during the same window
If a cluster upgrade is planned in the same window as a volume resize, check the Kubernetes version skew policy first. The API server must move one minor version at a time, ahead of the controller manager, scheduler and kubelets, and kubelets may trail the API server by a limited number of minor versions. Avoid stacking a storage change on top of a control plane upgrade, and sequence the two changes with separate rollback points.
Version skew policyQuestions teams ask before expanding Besu volumes on Kubernetes
What does expanding Besu volumes on Kubernetes cost, and what drives the effort?
The direct cost is mostly labor: someone must check the storage class, plan the change, run the Helm upgrade, and verify the node after the resize. Effort rises with the storage backend, the number of nodes that need larger volumes, how current your chart version is, whether backups are verified, and how many change windows you can use. Each node has its own volume, so a fleet of validators and RPC nodes multiplies the checks. Ask any partner for a quote that lists the storage backends, node count, chart version, backup verification and rollback steps as separate line items, with one-time work (initial assessment, runbook, first expansion) separated from any recurring support.
Can our in-house platform team expand Besu volumes without outside help?
Yes, if your team already holds the Kubernetes storage skills and Helm skills to manage the chart, and if you have a tested backup and restore path for the node data. The work itself is a small change to the PVC size in the values file followed by a helm upgrade, but the risk lies in the surrounding steps: confirming that the storage class allows volume expansion, checking the reclaimPolicy, and proving you can restore if something goes wrong. Besu's Bonsai database upgrades automatically on first start and older versions cannot open it, so rollback depends on a backup taken beforehand. If any of those pieces are missing, bring them in place before you touch production volumes.
How long does a volume expansion take?
The duration depends on your environment, so confirm it with your own team and the people who will run the change. The main variables are the storage backend, how many nodes need resizing, how long your backup and restore check takes, the size of the ledger on each node, and how quickly your cloud provider completes the volume resize. A realistic plan separates preparation (storage class review, backup verification, runbook sign-off) from the change window itself and from post-change verification (sync status, peer count, logs). Ask any partner to show the schedule for your specific cluster rather than a generic duration, and ask them to name the steps that depend on your change board approvals.
What do we need to provide before the work starts?
Plan to share cluster access with the right scope, the storage class details (provisioner, allowVolumeExpansion setting, and reclaimPolicy), the Helm release name and current chart version, and the current PVC sizes for each node. You should also provide backup and restore evidence, meaning a recent snapshot or copy of node data and a record that someone has restored it successfully in a test environment. Finally, agree on a change window with the business owners who accept the risk of a node restart. Missing any of these items usually delays the work more than the technical change itself.
Does expanding a Besu volume require downtime?
Whether it does depends on the chart and storage type in use, so confirm it for your exact combination before scheduling. Some storage backends can expand a volume while the pod keeps running, but the filesystem may still need the pod to restart before the new size is visible to Besu. Besu's Kubernetes maintenance documentation covers the helm upgrade path, and you should read it alongside your storage provider's documentation for online resize behavior. Plan for a node restart in your change window unless your own test confirms otherwise, and check that validators keep quorum while one node is restarted.
Will deleting a Helm release remove our Besu data?
It can, unless the volumes are protected. Setting reclaimPolicy: Retain keeps the underlying volumes even when PVCs and PVs are deleted in Kubernetes, which protects the ledger from an accidental uninstall. Retain does not replace a backup, because the volume still needs to be snapshotted, copied and tested, and retained volumes must be cleaned up manually later. Before any release change, confirm the policy on each storage class, list the volumes that survive a delete, and document how a node would be reattached to its retained volume.
When should we bring in an outside partner for Besu storage work?
Bring in a partner when the expansion touches several nodes across clusters or clouds, when the chart is out of date, when your storage class does not allow expansion, or when your team lacks a tested restore path. A partner is also useful when compliance teams need written change records, runbooks and evidence before production work. DeployOpen plans, implements, backs up, upgrades and documents self-hosted open-source platforms in infrastructure you control, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts. Ask for a written scope tied to your cluster, storage class and node list before you commit.
How DeployOpen works on this
DeployOpen plans and delivers Besu persistent volume expansion inside the client's own Kubernetes clusters and cloud accounts. The work starts with a written scope that ties storage growth to the storage class, Helm values and release retention settings the cluster actually uses.
How we scope
- Measure current ledger size, growth rate and free space on each Besu node volume before agreeing deliverables.
- Confirm the storage class supports volume expansion and record the provisioner your cluster uses.
- Agree in writing which nodes, Helm releases and namespaces are in scope and who approves each resize window.
How we build
- Set the reclaim policy so volumes survive PVC and release deletion, and document how it is verified.
- Update PVC size through the Helm values file and apply the change with helm upgrade in a staging cluster first.
- Test each node resize, confirm the pod restarts cleanly and check that the Besu node resumes syncing with its data intact.
How we hand over
- Deliver a runbook covering resize steps, rollback, and the backup to take before any Bonsai database upgrade.
- Provide a record of storage class settings, reclaim policies and the values files used in each environment.
- Walk your platform and operations teams through the procedure so they can repeat it without DeployOpen present.
How we support
- Available as a retainer for ongoing monitoring of volume usage and planned resizes as the chain grows.
- Storage and Kubernetes version changes can be reviewed against the expansion procedure before upgrades are scheduled.
- Confirm with DeployOpen during scoping which retainer terms, response expectations and review cadence apply to your environment.

