Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geosphere-deploy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cspp_geo
geosphere
geosphere-deploy
Commits
80c46fe1
Verified
Commit
80c46fe1
authored
3 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Add sc1 storageclass for AWS
parent
913b46c5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
admin/AWS_README.md
+22
-0
22 additions, 0 deletions
admin/AWS_README.md
ci_aws/sc1-storageclass.yaml
+8
-0
8 additions, 0 deletions
ci_aws/sc1-storageclass.yaml
with
30 additions
and
0 deletions
admin/AWS_README.md
+
22
−
0
View file @
80c46fe1
...
...
@@ -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`
.
...
...
This diff is collapsed.
Click to expand it.
ci_aws/sc1-storageclass.yaml
0 → 100644
+
8
−
0
View file @
80c46fe1
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment