Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postStart hooks that unmount rclone volumes can fail #33

Open
olevski opened this issue Oct 2, 2024 · 0 comments
Open

postStart hooks that unmount rclone volumes can fail #33

olevski opened this issue Oct 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@olevski
Copy link
Member

olevski commented Oct 2, 2024

The helm chart has this for the rclone container in the daemonset:

      postStart:
        exec:
          command:
          - /bin/sh
          - -c
          - mount -t fuse.rclone | while read -r mount; do umount $(echo $mount |
            awk {print $3}) ; done

This can be done as part of the code before the rclone container starts. So that if an error occurs it is easier to see and handle than the postStart hook which just causes the whole pod to restart when it fails.

Related to #27 where we want to be able to re-mount volumes when we have restarted.

@olevski olevski added the bug Something isn't working label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant