Defining Storage Classes
In this lesson, we will look into defining our own Storage Class.
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.
The output is as follows.
We used kubernetes.io/aws-ebs as the provisioner. It is a ...
Access this course and 1600+ top-rated courses and projects.