Skip to content
Snippets Groups Projects
Verified Commit 80c46fe1 authored by David Hoese's avatar David Hoese
Browse files

Add sc1 storageclass for AWS

parent 913b46c5
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,28 @@ You can update your kubectl to easily access the AWS cluster by running:
aws eks update-kubeconfig --region $AWS_DEFAULT_REGION --name <aws cluster name>
```
## Additional AWS EBS Storage Classes
By default, at the time of writing, AWS only provides one StorageClass on a new
cluster, `gp2`. This is an SSD-based and relatively expensive block storage. To
add additional storage classes for other EBS options we have to define a new
StorageClass YAML and install it on the cluster. An example is shown below where
a YAML file named `sc1-storageclass.yaml` could contain:
```yaml
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: sc1
provisioner: kubernetes.io/aws-ebs
parameters:
type: sc1
fsType: ext4
```
Then run `kubectl apply -f sc1-storageclass.yaml` to install it. Components
can then use 'sc1' as their storage class.
## Block Storage
By default your AWS cluster likely has a single storage class called `gp2`.
......
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: sc1
provisioner: kubernetes.io/aws-ebs
parameters:
type: sc1
fsType: ext4
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment