How to use io1 or io2 EBS type PV on ROSA

Solution Verified - Updated -

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

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