Commit graph

8 commits

Author SHA1 Message Date
Cyrill Troxler
4e8bbf0126 Supply credentials using volume secrets instead of cli config 2019-05-15 21:00:02 +02:00
Cyrill Troxler
e46440d1fa Add fs prefix (directory)
This ensures the fs root is clean and does not mess with
the metadata. Also in the future this will allow for multiple
filesystems to be created in one bucket.
2018-07-27 21:37:32 +02:00
Cyrill Troxler
1caf469966 Implement a metadata file and correct sizing
As the controller does not mount/create the fs we have to store the capacity somewhere so the node knows about it.
2018-07-27 13:28:52 +02:00
Cyrill Troxler
0010066fe3 Implement stage/unstage
This helps the reliability of s3backer as the fuse mount
is done on NodeStageVolume and only once per volume per
node.
2018-07-26 22:43:51 +02:00
Cyrill Troxler
82ab4b0983 Add experimental s3backer mounter
This also adds some generic handling of stale umounts.
Fuse returns immediately and does not indicate that
the mounter has finished writing to the backend.
The process finding is sort of hacky as I could not
find a better way to get to the PID from a fuse mount.
2018-07-23 20:58:25 +02:00
Cyrill Troxler
b412e81977 Fix s3ql unmount 2018-07-22 12:41:37 +02:00
Cyrill Troxler
8cd8f6b6cd Mounter can now only be specified through flag 2018-07-22 12:41:37 +02:00
Cyrill Troxler
9d5d84ebfb Refactor all mounters to use the mounter interface 2018-07-22 12:41:37 +02:00
Renamed from pkg/s3/s3ql.go (Browse further)