Defining Storage Classes

Even though kops created two StorageClasses, both are based on gp2. While that is the most commonly used EBS type, we might want to create volumes based on one of the other three options offered by AWS.

User-defined storage classes

Let’s say that we want the fastest EBS volume type for our Jenkins. That would be io1. Since kOps did not create a StorageClass of that type, we might want to create our own.

Looking into the definition

YAML file that creates StorageClass based on EBS io1 is defined in pv/sc.yml. Let’s take a quick look.

Get hands-on with 1200+ tech skills courses.