Kubernetes has become the foundation of modern application platforms, enabling development teams to innovate rapidly and scale seamlessly. However, as stateful workloads expand and evolve, managing dynamic storage requirements introduces operational complexity. For instance, a containerized database might demand high-performance storage on the Flex service level today, but a month later, its cold data sits idle—consuming expensive hot-tier resources without requiring high throughput.
What if your container storage could automatically adapt to these shifting access patterns? With NetApp Trident and Google Cloud NetApp Volumes (GCNV), automated tiering policies can apply the moment a dynamic Persistent Volume (PV) is provisioned. This ensures a continuous balance between performance and cost without requiring manual administrative intervention, as illustrated below:
Figure 1: Automated data tiering workflow with Google Cloud NetApp Volumes.
NetApp Trident (version 26.02 or later) supports auto-tiering policies when provisioning volumes within a GCNV Flex Unified storage pool. By leveraging this capability, Trident allows you to create a new volume with auto-tiering already configured, automatically transitioning cold data into a lower-cost tier based on your criteria. In this article, we explore how Trident integrates with GCNV Flex Unified auto-tiering to simplify volume provisioning, optimize cloud spending, and streamline setup.
Why Auto‑Tiering Matters
Auto-tiering enables organizations to significantly reduce cloud storage expenditure without altering application code, existing workflows, or data access mechanisms. As data ages, access frequency typically declines, yet the data must remain available. Auto-tiering transparently relocates inactive (cold) data to lower-cost storage while retaining actively accessed data on high-performance tiers. When cold data is requested, it is recalled to the performance tier automatically, preserving consistent NFS and SMB access. This capability significantly lowers the total cost of ownership (TCO) and optimizes storage allocation for large file repositories, backup archives, AI training datasets, and variable workloads.
By integrating this functionality directly into the Trident CSI provisioner, auto-tiering policies can be configured at volume creation for Kubernetes workloads.
Trident communicates requested auto-tiering capabilities directly with GCNV, allowing cold data to dynamically migrate between hot and cold tiers based on real-time usage. Containerized applications maintain seamless access without experiencing operational changes.
How to Configure Auto-tiering with Trident
Auto-tiering adds an intelligent orchestration layer to Trident. Rather than placing volumes into static performance tiers, Trident passes auto-tiering parameters directly to GCNV during provisioning, extending automated lifecycle management to Kubernetes persistent storage.
Auto-tiering requires configuration across two distinct levels:
1. Storage Pool: Auto-tiering must be enabled on the storage pool alongside a defined hot tier threshold. Option settings, such as automatic hot tier expansion, can also be configured at this level.
2. Volume: Auto-tiering must also be explicitly enabled on the volume, where the cooling threshold (the duration of inactivity before data migrates to the cold tier) is defined.
Trident reads and enforces the cooling threshold setting from one of two Kubernetes manifest levels:
- PersistentVolumeClaim (PVC): Offers granular control by allowing cooling thresholds to be defined on a per-PVC basis. Volumes with and without auto-tiering can coexist within the same storage pool.
- Backend: Applies auto-tiering configuration globally to all PVCs provisioned via StorageClasses referencing that backend.
Note: Configuration hierarchy follows a standard precedence order: PVC settings override Backend settings.
Step 1: Enable Auto-Tiering During Storage Pool Creation
When creating the storage pool, enable auto-tiering as shown in the interface below. For any contained volumes to utilize auto-tiering, the underlying pool must have auto-tiering enabled. During setup, define the hot tier capacity and specify whether the hot tier should auto-increase upon reaching capacity.
Step 2: Install Trident
Deploy NetApp Trident v26.02 or later in your Kubernetes cluster following the standard installation documentation.
Step 3: Create a Trident Backend and StorageClass
Auto-tiering can be configured at the backend level, the PVC level, or both. Enabling auto-tiering on the backend applies the setting to all created PVCs using that backend by default, while allowing individual PVC manifests to override specific parameters (such as cooling thresholds). Alternatively, leaving auto-tiering disabled on the backend allows selectively enabling or disabling tiering on individual PVCs within the same backend.
In this example, we demonstrate coexisting tiered and non-tiered volumes within the same storage pool by defining tiering policies at the PVC level. For detailed backend-level configuration options, refer to the official NetApp Trident documentation.
First, configure a standard backend targeting a Flex Unified storage pool. Auto-tiering is not configured as will configure it on the PVC level:
apiVersion: trident.netapp.io/v1
kind: TridentBackendConfig
metadata:
name: tbc-gcnv-flex-auto-tier
spec:
version: 1
storageDriverName: google-cloud-netapp-volumes
backendName: volumes-for-kubernetes
projectNumber: '123456789012'
nasType: nfs
location: us-central1
defaults:
exportRule: “0.0.0.0/0”
storage:
- labels:
performance: flex
tiering: auto
serviceLevel: flex
Next, create a Kubernetes StorageClass referencing this backend:
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: gcnv-flex-k8s-nfs
annotations:
storageclass.kubernetes.io/is-default-class: "true"
provisioner: csi.trident.netapp.io
parameters:
backendType: "google-cloud-netapp-volumes"
selector: "performance=flex"
trident.netapp.io/nasType: "nfs"
allowVolumeExpansion: true
Step 4: Provision PVCs with and without Auto-Tiering
To highlight operational flexibility, we create two PVCs: one configured with auto-tiering and one without.
The manifest for the auto-tiered PVC incorporates Trident annotations for tiering policy and cooling period:
kind: PersistentVolumeClaim
metadata:
name: pvctesttiering
annotations:
trident.netapp.io/tieringPolicy: "auto"
trident.netapp.io/tieringMinimumCoolingDays: "2"
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 50Gi
storageClassName: gcnv-flex-k8s-nfs
Key PVC Annotations:
- trident.netapp.io/tieringPolicy: "auto": Enables automatic data tiering for this volume, moving cold data off the high-performance hot tier.
- trident.netapp.io/tieringMinimumCoolingDays: "2": Specifies the cooling threshold in days (e.g., 2 days) before inactive data is migrated to the cold tier.
The manifest for the standard PVC omits tiering annotations:
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvctest
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 50Gi
storageClassName: gcnv-flex-k8s-nfs
After applying the PVC manifests
~$kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE
pvctest Bound pvc-f9c35ab0-afb5-480a-9c56-347f67f8dcd6 50Gi RWX gcnv-flex-k8s-nfs <unset> 41m
pvctesttiering Bound pvc-ecc1db05-fb39-4ecc-9d0a-e2e420a7fbf3 50Gi RWX gcnv-flex-k8s-nfs <unset> 41m
Inspecting the storage details on the corresponding volumes in the Google Cloud Console confirms that Trident successfully applied auto-tiering to the designated volume and did not apply it to the other volume.
Volume with Auto Tiering enabled:
Volume without auto-tiering enabled:
Next, we deployed two pods mounting to the volumes and writing 25G of data to each volume. We can see both volumes have 25Gi worth of data.
After a few days, we can see that the data got moved to the cold tier on the PVC configured with auto-tiering. The 1G left in the hot tier is metadata that remains in the hot tier.
All data in the volume without auto-tiering enabled remained in the hot tier.
We can also see the transition in Google Metrics. Simply go to Metrics Explorer, select the Google Cloud NetApp Volumes volume metric, and choose the unaggregated view. You can see the amount of data in the hot tier and the cold tier on the volume with auto-tiering configured. The volume with auto-tiering configured moved data to the cold tier, whereas the other volume kept all its data in the hot tier, as expected.
What This Means for Kubernetes Teams
For Platform Engineers
Auto‑tiering offloads a huge amount of manual work. Instead of monitoring dashboards, deciding when to shift workloads, and running migrations, teams can set policies once and trust the system to do the right thing.
For Application Developers
You get the performance you need—when you need it—without having to understand storage tiers or open tickets for resource changes.
For FinOps and Cloud Cost Managers
This is cost optimization with precision. Instead of blanket downsizing or risky manual adjustments, auto‑tiering ensures every volume matches the lowest‑cost tier that still meets performance goals.
A Win for Performance, Efficiency, and Simplicity
Auto‑tiering represents a major evolution in how Kubernetes storage is managed. It brings together the best of NetApp’s intelligent data management with Google Cloud’s fully managed, enterprise‑grade storage platform. And by integrating it seamlessly into Trident, we’re empowering teams to focus on applications—not storage tuning. It is also granular at the PVC level, if needed. Try it out! Let us know how it goes. Hope to hear from you!