How to use io1 or io2 EBS type PV on ROSA
Environment
- Red Hat OpenShift Service on AWS
- v4
Issue
- You want to use io1 or io2 high IO performance EBS type instead of default gp2 as your PV storage on your ROSA cluster.
Resolution
- If you create additional StorageClass with io1 or io2 EBS type, you can use the high IO performance EBS type for your PV storage.
- Refer AWS Elastic Block Store (EBS) object definition for more details.
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: io1
provisioner: kubernetes.io/aws-ebs
parameters:
type: io1
iopsPerGB: "10"
fsType: ext4
Root Cause
- ROSA just provides the StorageClass gp2 and gp2-csi by default.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments