Implement support for running geesefs OUTSIDE of the container using systemd to not crash mountpoints when csi-s3 is upgraded or restarted

This commit is contained in:
Vitaliy Filippov 2023-03-02 16:12:41 +03:00
parent 8ba5614465
commit 6b4f2d9ac4
9 changed files with 125 additions and 13 deletions
deploy/kubernetes

View file

@ -108,6 +108,8 @@ spec:
mountPropagation: "Bidirectional"
- name: fuse-device
mountPath: /dev/fuse
- name: systemd-control
mountPath: /run/systemd
volumes:
- name: registration-dir
hostPath:
@ -124,3 +126,7 @@ spec:
- name: fuse-device
hostPath:
path: /dev/fuse
- name: systemd-control
hostPath:
path: /run/systemd
type: DirectoryOrCreate