Add option to mount ephemeral disks for image storage #95
Add option to mount ephemeral disks for image storage #95
Conversation
Current coverage is 55.53% (diff: 100%)@@ master #95 diff @@
==========================================
Files 4 4
Lines 1052 1057 +5
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 582 587 +5
Misses 388 388
Partials 82 82
|
b1835af
to
60f9123
Compare
@@ -189,6 +189,8 @@ kmsKeyArn: "{{.KMSKeyARN}}" | |||
# CFNSTACK: '{ "Ref" : "AWS::StackId" }' | |||
# waitSignal: | |||
# enabled: true | |||
# ephemeralImageStorage: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind documenting it like not tested with rkt (yet)
so we can be more explicit about what will/will not work 👍
I like this idea and yes, I like rolling balls! 🍙 💨 |
…e for container image store
60f9123
to
3745e9d
Compare
Done 👍 |
LGTM 👍 Thanks for your continuous efforts 🙏 |
Although this PR is already merged, but what about adding
Using |
Sounds like a plan 👍 Will you make the PR? 😉 |
Intended to be used on instances that come with local storage (eg the
m3
,c3
,r3
andg2
instance types).When just setting the
enabled
flag it formats (XFS) & mounts the localxvdb
disk by default to the appropriate location (depending on container runtime). I chose XFS because of speed and the generous amounts of inodes by default.Users can choose the filesystem and source disk by overriding the defaults:
rkt
as container runtime yet but i guess this will work? ⚔️I would like to add the option to RAID together some local disks. The defaults should work all nodes with local storage, but doesn't use additional disks which is a waste if you move up to nodes of reasonable size (
xlarge
). Might add format/mount options later too.Submitting incomplete work because @mumoshu seems to like rolling balls 😆 ⚽