Changing volume performance with Kubernetes VolumeAttributesClass

VolumeAttributesClass lets a team move an existing PersistentVolumeClaim to a different performance tier without recreating the volume, if the CSI driver supports the change. This page covers how it works, what to confirm and who controls tier selection.

On this page

What Kubernetes VolumeAttributesClass changes on a live volume

A database or application outgrows its IOPS or throughput tier, and the team wants more performance without a restart-heavy migration. VolumeAttributesClass changes mutable performance attributes on an existing PersistentVolumeClaim when the CSI driver supports it. The object is a cluster-scoped resource that names a CSI driver and a set of driver-specific parameters, such as provisioned IOPS or throughput. You change a claim by pointing its volumeAttributesClassName field at a different class, and the driver applies the new parameters to the same underlying volume. The volume keeps its data, its name and its binding to the workload.

This is a different operation from resizing storage and from creating a new volume. Expansion changes capacity by raising the spec.resources.requests.storage value on the claim, and the StorageClass must allow expansion. Changing the VolumeAttributesClass leaves capacity alone and alters performance settings instead. Creating a new volume means provisioning a second PVC, copying data across and switching the workload over, which is the migration work this feature is meant to avoid. Whether a change can be made without downtime depends on the driver and the volume type, so confirm that with the driver's documentation before planning a cutover.

The people who usually need this are platform engineers who run shared storage, database administrators who own the performance profile of a workload, and FinOps or platform owners who set which tiers exist. Application teams often request a change, but the platform team should control the catalog of classes and the parameters each one carries. Before you adopt the feature, confirm with your CSI driver vendor which parameters are mutable, whether the feature gate and API version your Kubernetes release requires are enabled, and how the backing storage system enforces the limits you publish.

How a PVC moves from one performance tier to another

The change starts when an administrator or automation patches a PersistentVolumeClaim to reference a new VolumeAttributesClass. The API server runs admission and RBAC checks inside the trust boundary before the patch is stored. The external resizer then calls the CSI driver's modify path, and the PVC status reports progress or failure. Check the admission rules, the class's driver name, and the PVC status conditions at each step.

Request path for a PVC tier change, with the admission and RBAC trust boundary before storage.

Which VolumeAttributesClass settings fit which workloads

This table compares how to structure VolumeAttributesClasses: one class per tier, per-team classes, driver-specific parameters, default versus explicit selection, and namespace or team limits. Read each row for when the option fits, what it costs to run, and what to confirm in your CSI driver documentation before committing.

Configuration choiceWhen it fitsOperating costConfirm before committing
One class per performance tierSmall or mid-sized clusters where a few tiers such as standard and high throughput cover most workloadsLow. Few objects to review, and platform staff can explain each tier to application teamsWhich parameters the driver accepts per class and whether the storage backend can change them on a live volume
Per-team classesShared clusters where teams need separate tiers, budgets or naming for chargebackHigher. Each class adds review, naming and documentation work, and classes drift if no owner is namedWhether the driver reports usage per class so cost data can be tied back to teams
Driver-specific parametersBackends that expose tunable IOPS or throughput settings on existing volumesMedium. Values must be validated against the backend's limits, and mistakes surface only when a claim is modifiedThe exact parameter names, value ranges and units in the driver's own documentation, which this page does not list
Default class selectionWorkloads that rarely need a change, where a platform default avoids repeated decisionsLow for users, but a default that is too expensive raises cost for every unlabeled claimWhether the cluster supports changing the class on a bound claim and how the driver handles the default
Explicit class selectionStateful workloads whose performance needs are known, such as databases or message brokersMedium. Each team must set the class correctly and keep it in GitOps manifests or Helm valuesWhether the driver rejects or ignores a class change that it cannot apply, and what status the claim reports
Namespace-restricted classesClusters where only approved namespaces may request premium tiersMedium. Requires RBAC rules and admission policy that many teams already maintain for other resourcesWhether your policy engine can check the class name on PVC create and update requests
Team-restricted classesOrganizations that bill or approve storage spend by team rather than by namespaceHigh. Team-to-namespace mapping must stay current as teams change, and reviews add approval stepsWhether your identity provider groups can be mapped to namespaces without manual edits

How the CSI driver decides whether a tier change succeeds

The Kubernetes API server accepts a VolumeAttributesClass change on a PersistentVolumeClaim, but it does not decide whether the change can happen. The CSI driver and the storage backend behind it decide whether the new performance parameters are applied, which parameters can be changed in place, and how long the change takes. Before you rely on a tier change in production, confirm with your driver's documentation which keys in the class it accepts as mutable, whether it supports the ModifyVolume operation, and whether a change to one key forces a different outcome than a change to another. The Kubernetes CSI documentation is the starting point for the API contract, but the list of supported parameters comes from the driver.

When a driver rejects a modification, the failure does not usually surface as a failed API call. The PVC stays bound and keeps its previous attributes, while the ModifyVolumeStatus field and the PVC conditions show the state of the request. Look for conditions that report the modification as in progress or infeasible, and check the events on the PVC and the external-resizer or controller logs for the driver's error text. An infeasible result is a backend answer, such as a limit on the volume's current pool or an unsupported key, so retrying the same class will not help. Plan alerting on PVCs that stay in an in-progress state beyond your expected window, since the time a change takes depends on the backend, not on Kubernetes.

The same VolumeAttributesClass can succeed on one backend and fail on another because the storage system, not the Kubernetes object, owns the performance limits. A block array may adjust IOPS and throughput on a live LUN, while a software-defined backend may only allow the change on certain volume types, data engines or replica layouts. Before you publish tiers to teams, run a test in a non-production cluster that uses the same driver version and the same storage backend release as production. Confirm the supported mutable keys, the behavior when a volume is attached and when it is not, the failure conditions your monitoring will see, and whether the backend enforces the limits you have written into the classes. Record the results against each driver and backend version, because an upgrade of either can change the answer.

Applying a tier change to an existing PVC

This sequence moves a live volume to a different performance tier by changing its VolumeAttributesClass, while confirming the driver supports the change, testing on a non-production claim, and keeping a tested way to revert.

  1. Confirm driver and release support

    The platform engineer checks that the cluster runs a Kubernetes release where volume attribute modification is available and that the CSI driver for your storage backend supports changing volume attributes on existing volumes. Confirm the answer with the driver's own documentation and release notes, since support depends on both the Kubernetes release and the driver version. Record the driver name, version and the release you verified. The step is done when you have a written note that names the driver, its version and the cluster release, and states that in-place modification is supported for the volume types you plan to change.

  2. Create VolumeAttributesClass objects per tier

    Define one VolumeAttributesClass for each performance tier, using the parameter keys documented by your CSI driver for IOPS and throughput. Name the classes so a reader can tell the tier from the name alone, and keep the set small so that teams can choose between them without confusion. Apply the objects with your normal GitOps or cluster change process. The step is done when kubectl get volumeattributesclasses lists every tier with the expected driver name and parameters, and a reviewer has checked the values against the backend's limits.

  3. Test a change on a non-production claim

    Create or pick a non-production PVC bound to the same driver, write a known test workload to it, and patch its volumeAttributesClassName to a higher or lower tier. Watch the PVC status until the modification completes, and note any error or stalled state. Confirm that the volume still mounts and that the data written before the change is intact. The step is done when the test claim reports the new class, its data checks out, and you have a short log of the time to completion and any events the controller emitted.

  4. Patch the production PVC

    During an agreed change window, the platform team patches the production PVC's volumeAttributesClassName field to the target class. The application keeps running during the change, but you should confirm with the application owner that the workload can tolerate a temporary performance shift. Run the patch through the same approval path used for other production changes so the request is recorded. The step is done when the patch is accepted by the API server and the claim's status begins to show the modification in progress.

  5. Check PVC status, events and backend metrics

    Inspect the PVC status conditions and recent events with kubectl describe pvc to confirm the modification completed without errors. Then check the storage backend's own metrics or management interface to verify that the volume's provisioned IOPS or throughput now matches the target tier. Treat a mismatch between the Kubernetes object and the backend as a failure to investigate, not as a cosmetic issue. The step is done when the claim reports the new class, the events show success, and the backend reports the new limits.

  6. Verify the application sees the change

    Ask the application owner or run a controlled benchmark from inside the workload to compare throughput or latency before and after the change. The goal is to confirm the performance difference reaches the application, not only the storage layer, since caching, connection limits or CPU can hide a change. Keep the benchmark simple and repeatable, and store the results beside the change record. The step is done when the application team signs off that observed behavior matches the expected tier, or when the gap is documented and assigned.

  7. Revert to the previous class if needed

    Keep the prior VolumeAttributesClass name on record and rehearse reverting on the test claim before you need it. If the production change fails or the application shows no benefit, patch volumeAttributesClassName back to the previous class and repeat the status, event and backend checks. Confirm that the revert completes and that the volume returns to the earlier limits. The step is done when the claim and backend both show the original tier and the change record notes the outcome.

Controlling who may select expensive tiers

A VolumeAttributesClass change can raise IOPS or throughput on a live volume, so the expensive part is the selection step, not the storage itself. The controls below work together: they decide who can name a premium class, which namespaces can use it, and how each change is recorded and approved.

RBAC on VolumeAttributesClass objects

Limit get, list and watch on VolumeAttributesClass objects to the roles that plan storage tiers, and keep create, update and delete with platform administrators. This stops an application team from defining or editing a tier that other teams can then select. Check the rules with a permission test for each team role, since a broad ClusterRole granted for another reason can expose the class catalog to everyone.

RBAC on patching PVCs

Changing a claim's class is a patch or update on the PersistentVolumeClaim, so restrict that verb to the namespaces and service accounts that should adjust storage. A user who can patch a claim can pick any class they can see, which makes this rule as important as the class catalog rule. Review it alongside existing rules that already grant patch access to claims for other reasons.

Admission policy on allowed classes

Use a validating admission policy or a policy engine to reject PVC changes that name a class the namespace is not approved to use. This is the control that keeps a valid RBAC grant from reaching premium tiers in the wrong team's namespace. Confirm the policy also runs on updates, not only on claim creation, because the change happens on an existing object.

Separate premium classes from default classes

Keep premium VolumeAttributesClasses in their own catalog, named and labeled so they are easy to exclude from the default selection path. Default tiers should cover most workloads, and premium tiers should require an explicit, reviewed choice. Ask your storage team which classes the CSI driver actually supports before publishing them, since an unsupported class fails at modify time rather than at definition time.

Audit logging of PVC patches

Record every patch to a PersistentVolumeClaim with the user, namespace, old class and new class, so cost reviews can see who raised a tier and when. Kubernetes audit policy controls which requests are recorded and at what detail, so confirm that claim patches are captured at a level that includes the request body. Send the records to the same store used for other cluster audit events.

Cost guardrails outside Kubernetes

Kubernetes does not know what a tier costs you, so set limits in the systems that do. Backend quotas on the storage array, pool or Ceph pool cap how much premium capacity or throughput can be consumed, and chargeback reports attribute the cost to the owning team. Ask your storage vendor or platform team how the backend bills for performance, because the number that matters is usually provisioned throughput rather than capacity.

Change approval for production claims

Require a ticket or pull request for any tier change on a production claim, and tie the approval to the GitOps repository that owns the manifest when one exists. This catches changes made directly with kubectl that drift from the declared state. Decide in advance who can approve a move to a premium tier and how long a temporary raise lasts before it is reverted.

What drives the cost of a tier change project

The main cost of a tier change project is platform engineering time, and it falls on three groups. Your platform team confirms that each CSI driver in use supports VolumeAttributesClass, then builds the class model and the PVC change procedure. Your storage team tests each class against the actual backend, because the tier a driver exposes depends on what the array, Ceph pool or software-defined storage layer can deliver. Your security or platform governance owner designs who may set volumeAttributesClassName on a PVC and how that is enforced. A partner quote should show these as separate line items, with the test environment and the backend access it assumes.

Most of the cost is one-time: driver verification, class design, backend testing, RBAC and admission policy, and documentation for application teams. Recurring cost is smaller in labor but larger in infrastructure. Higher-tier capacity is billed by your storage vendor or by your own hardware plan, and it continues for as long as volumes stay on it. Ongoing work includes reviewing which PVCs sit on premium tiers, retiring classes that no longer match hardware, and retesting after CSI driver or Kubernetes upgrades. Ask the quote to state which of these recur and who owns the review cadence.

Effort rises with the number of storage backends, because each backend exposes different tiers and needs its own testing. It also rises with the number of teams that need tiers, since each team adds access decisions, chargeback questions and exceptions. Whether your team already runs a policy engine lowers effort considerably, because a rule that blocks premium classes outside approved namespaces can be written once and reused. Without one, the same control is built through RBAC, admission configuration or manual review, which costs more to maintain. Confirm these counts and your existing policy tooling before requesting a fixed-scope estimate.

What to confirm before promising tiered performance

A VolumeAttributesClass change is only as good as the CSI driver and storage backend behind it. The items below are the questions that decide whether a tier change is safe, fast and available where your workloads run. Put each answer in writing before you promise a tier to a team.

CSI driver version and modify support

Confirm that your CSI driver release implements volume attribute modification. Support is per driver and per version, so a cluster on a current Kubernetes release can still lack the capability if the driver is older. Ask the vendor which driver release added the feature, then check the deployed controller and node plugin images in your own cluster. Record the exact version, because a driver upgrade can change behavior.

Kubernetes release on control plane and nodes

Check the Kubernetes minor version on the control plane and on every node component that the driver depends on. The feature depends on API support in the cluster, so confirm the release line your distribution ships and whether the feature gate or API version is enabled by default. Compare that version against the supported minors on the releases page and the version skew rules before you plan an upgrade.

Version skew policy

Parameters the backend can change online

Not every parameter in a VolumeAttributesClass can be changed on a live volume. Ask the vendor which keys, such as IOPS or throughput, the backend accepts for an in-place modification, and which require a new volume. Test each key on a non-production volume and record whether the backend accepts, rejects or silently ignores the value.

Effect of a change on running I/O

Find out whether a tier change pauses, throttles or degrades I/O while the backend applies it. Some arrays apply limits instantly, while others rebalance data in the background and affect latency for hours. Ask for the expected impact on latency and throughput during the change, and run a load test on a representative database volume before you schedule changes during business hours.

Minimum interval between changes

Many backends limit how often a volume can be modified, and a second request made too soon may be rejected or queued. Ask the vendor for the cooldown period and whether it is per volume or per account. Build that interval into your automation and into any self-service workflow, so a team that switches tiers twice in a row sees a clear status instead of a stuck PVC.

Tier availability across zones and failure domains

Confirm that the chosen performance tier exists in every zone or failure domain where the volume may be scheduled or replicated. A tier offered in one zone but not another can leave a volume unable to move after a node failure. Check the topology labels your driver reports, and test a change on a volume placed in each zone that your StorageClass allows.

Questions teams ask about VolumeAttributesClass before hiring help

Can our team change volume performance tiers ourselves with VolumeAttributesClass?

Yes, if your storage backend exposes the parameters you need and your CSI driver supports the VolumeAttributesClass feature. Your platform team would define the classes, apply them to PVCs and check the result. The work itself is not large, but the difficult part is knowing which parameters each backend actually changes on a live volume, how the driver reports failures and how the change interacts with your quotas and monitoring. Teams that already run Kubernetes storage day to day usually handle the first rollout in-house. Teams without that experience should ask a partner to confirm the driver behavior in a test namespace before production use.

What does the work need from our team before it starts?

The work needs four things from your side. First, cluster access with rights to create VolumeAttributesClass objects and patch PersistentVolumeClaims in a test namespace. Second, administrator access to the storage backend or its management API, so the change can be checked at the volume level. Third, a test namespace with representative volumes that can be resized or retuned without affecting production. Fourth, a named approver who signs off on which tiers are offered, who may select them and what the rollback path is. Without the approver, the scope tends to drift because nobody owns the cost decisions.

How long does this kind of work take, and what sets that time?

Duration depends mostly on how many storage backends and CSI drivers are involved, how many volume types need tiers and how much verification your change process requires. A single driver with a few tiers and a test namespace is a much smaller job than several backends with separate approval paths, monitoring changes and a production rollout window. Ask any provider for a written timeline that lists the driver checks, the test cases, the approval steps and the production change window separately, so you can see which items drive the total.

Does changing an existing volume's performance tier require downtime?

The VolumeAttributesClass mechanism is designed to change attributes on an existing PersistentVolumeClaim without recreating the volume, but whether the change is applied live depends on the CSI driver and the backend. Some drivers apply the new settings while the workload keeps running, while others may require a pod restart or report the change as pending until a condition clears. Confirm the exact behavior for your driver and backend version in a test namespace, and check whether your application tolerates the throughput fluctuation that can occur during the change.

How do we keep the cost of higher performance tiers under control?

Cost control comes from three decisions. Limit which VolumeAttributesClass objects each team can select, using RBAC so that only approved service accounts or roles can patch PVCs to expensive tiers. Track the tier in your chargeback or cost reporting so that each namespace sees the spend it creates. Set a review cadence to move volumes back to lower tiers when the workload no longer needs them. Your backend's own pricing or licensing model determines the recurring cost, so ask the vendor or your internal finance team which metrics they bill on before defining the tiers.

When should we hire a partner instead of running this in-house?

Hire a partner when the change affects several storage backends, when production databases or Kafka brokers depend on the volumes, or when your team has no one who has operated the CSI driver under load. A partner is also useful when your compliance team needs written evidence of who may select expensive tiers and how changes are logged. An engagement is normally fixed in scope, with deliverables and a timeline agreed in writing before work starts, so you can compare the quote against the internal effort your team would need to spend on driver testing, RBAC design and documentation.

How DeployOpen works on this

DeployOpen plans and implements VolumeAttributesClass changes in clusters you control, starting with a written inventory of which CSI drivers, StorageClasses and PVCs can actually change tier. The work ends with documented selection rules, tested changes and a handover your platform team can run without us.

How we scope

  • We inventory your CSI drivers and confirm which ones support VolumeAttributesClass before any design work starts.
  • The written scope lists the StorageClasses, workloads and tiers that will be changed, and which ones stay as they are.
  • We agree who may select premium tiers, which approval path applies and how the scope handles workloads that cannot change live.

How we build

  • We define VolumeAttributesClass objects with the parameters your chosen driver accepts, and check each one against its documentation.
  • We apply tier changes to test PVCs first, then record how the driver reports progress and what happens if a change fails.
  • We configure RBAC so only approved groups can patch the class on a PVC, and test that other users are refused.

How we hand over

  • You receive the tier catalog, selection rules, RBAC manifests and the runbook for applying and reverting a change.
  • The runbook covers how to confirm a change completed, how to read the PVC status and what to check after a failed attempt.
  • We walk your platform and storage engineers through the procedure and leave them with the test evidence from the build.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, driver upgrades and continuous testing are available as a retainer if your tier catalog changes over time.
  • Ask any partner to confirm driver support for your exact CSI version, since support depends on the driver release you run.

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.