Commit graph

25 commits

Author SHA1 Message Date
Vitaliy Filippov
9d687fe6a9 WIP Start GeeseFS in separate pods instead of using systemd 2023-10-13 23:24:36 +03:00
x.zhou
37c35c788a fix compilation 2023-06-09 16:44:40 +08:00
x.zhou
8ea6111b0d Don't call os.Setenv() 2023-06-03 15:36:03 +08:00
Vitaliy Filippov
96818e563a Cleanup mounts after stopping them using systemd 2023-05-23 14:40:53 +03:00
Vitaliy Filippov
701c86fa4d Filter out unsafe options 2023-04-26 12:04:40 +03:00
Vitaliy Filippov
ecf1031dfc Implement mounting via stage directory
Previously, multiple containers with the same mounted volume resulted in multiple
FUSE processes. This behaviour was breaking parallel modifications from different
containers, consumed extra resources, and after mounting via systemd was introduced,
led to the total inability to mount the same volume into multiple containers on
the same host.

Now only one FUSE process is started per volume, per host.
2023-03-07 00:49:12 +03:00
Vitaliy Filippov
2ad5d21714 Drop geesefs root privileges 2023-03-04 13:04:03 +03:00
Vitaliy Filippov
bfba08742c Implement support for running geesefs OUTSIDE of the container using systemd to not crash mountpoints when csi-s3 is upgraded or restarted 2023-03-03 00:44:05 +03:00
Vitaliy Filippov
95a3b041f1 Pass stderr through to not wait for it 2021-09-07 14:55:20 +03:00
Vitaliy Filippov
7c2bcfc4b0 Do not pass empty region, use stderr for GeeseFS log 2021-09-07 13:37:04 +03:00
Vitaliy Filippov
a0a0f62575 Rename repository to k8s-csi-s3 2021-08-24 13:33:26 +03:00
Vitaliy Filippov
cc7645db7d Remove default region 2021-07-27 13:56:51 +03:00
Vitaliy Filippov
b58f8589e5 geesefs/goofys does not accept options after arguments because of urfave/cli 2021-07-27 13:56:51 +03:00
Vitaliy Filippov
128b9d7738 Rename ctrox/csi-s3 to yandex-cloud/csi-s3 2021-07-27 13:56:51 +03:00
Vitaliy Filippov
46da5a7002 Add mount options example 2021-07-27 13:56:50 +03:00
Vitaliy Filippov
1f29b29459 Remove s3backer mounter as it's mostly unusable 2021-07-27 13:10:44 +03:00
Vitaliy Filippov
f723bccaf3 Rename Goofys mounter to GeeseFS and use it by default 2021-07-26 21:11:32 +03:00
Vitaliy Filippov
4ba5ca319b Call process.Wait to reap children 2021-07-26 21:11:32 +03:00
Vitaliy Filippov
55013c94bc Add 3 FIXMEs 2021-07-26 21:11:32 +03:00
Vitaliy Filippov
a0cf78dcbc Remove recursion in waitForProcess 2021-07-26 21:11:32 +03:00
Vitaliy Filippov
9562699f1b Remove additional FSPath prefix 2021-07-19 15:41:45 +03:00
Vitaliy Filippov
63a2ab3476 Use goofys binary 2021-07-19 15:41:45 +03:00
Vitaliy Filippov
d78d476d6d Add mount options support 2021-07-16 16:12:57 +03:00
Cyrill Troxler
26cb1d95e8 Use volume ID as a prefix if the bucket is fixed in the storage class
With this, each volume will get its own prefix within the bucket if it
is configured in the storage class. This also ensures backwards
compatibility with older volumes that have been created in earlier
versions of csi-s3.
2021-04-05 15:07:16 +02:00
Cyrill Troxler
7528b3297c Rename packages
Create separate packages for driver, s3 client and mounters.
2021-04-05 12:10:20 +02:00