Skip to content

postStart hooks that unmount rclone volumes can fail #33

@olevski

Description

@olevski

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions