Using SSD persistent disks

This page explains how to create dynamicPersistentVolumeresources that are backed bySSD persistent disks.

SSD persistent disks

By default,dynamically provisioned PersistentVolumesuse thedefaultStorageClassand are backed by standard hard disks. If you need faster SSDs, you can use thepremium-rwo storage class from theCompute Engine persistent disk CSI Driverto provision your volumes. This can be done by setting thestorageClassNamefield topremium-rwo in yourPersistentVolumeClaim as shown in the followingexample:

# ssd-claim.yamlapiVersion:v1kind:PersistentVolumeClaimmetadata:name:my-volumespec:storageClassName:premium-rwoaccessModes:-ReadWriteOnceresources:requests:storage:30Gi

To create themy-volume PersistentVolumeClaim object, use the followingkubectl apply command:

kubectlapply-fssd-claim.yaml

When you create thisPersistentVolumeClaim object withkubectl apply,Kubernetes dynamically creates a correspondingPersistentVolume object.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-18 UTC.