Using SSD persistent disks Stay organized with collections Save and categorize content based on your preferences.
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:30GiTo create themy-volume PersistentVolumeClaim object, use the followingkubectl apply command:
kubectlapply-fssd-claim.yamlWhen 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.