Support for AWS gp3 EBS PersistentVolumes in OCP 4
Issue
- In December 2020, AWS announced the availability of
gp3, general purpose SSD volumes for Amazon EBS. Can these volumes be used forPersistentVolumesin OCP 4? -
When creating a new
PersistentVolumeClaimfor aStorageClasswithtype: gp3, provisioning fails with the following error message:failed to provision volume with StorageClass "gp3-csi": rpc error: code = Internal desc = Could not create volume "pvc-231a4782-e22c-4c52-952d-950da6ae8e79": invalid AWS VolumeType "gp3" -
The
aws-ebs-csi-driver-controllerPod shows the following errors:E0107 12:51:46.862390 1 driver.go:111] GRPC error: rpc error: code = InvalidArgument desc = Invalid parameter key iops for CreateVolume E0107 12:52:49.800534 1 driver.go:111] GRPC error: rpc error: code = Internal desc = Could not create volume "pvc-231a4782-e22c-4c52-952d-950da6ae8e79": invalid AWS VolumeType "gp3"
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Red Hat OpenShift Service on AWS (ROSA)
- 4
- Red Hat OpenShift Dedicated (OSD)
- 4
- Amazon Web Services (AWS)
- Amazon Elastic Block Store (Amazon EBS)
PersistentVolumeStorageClass
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.