Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.
This repository was archived by the owner on May 10, 2024. It is now read-only.

New option - restore only when directory empty (or does not contain file at defined path) #59

Description

@blackandred

Let's create an option to always add the init container, and let it check if the workspace is empty or there is no file at specified path - then copy files from remote if we have an empty workspace.

Additional k3s local-path-provisioner support:

  • Optional option "restoreOnNodeChange" that would trigger remote files restore when the Pod runs on a different node

This feature would allow improve tiny-scale production without network filesystem to behave like it would have a network filesystem, because moving pods between nodes will become possible and automatic - but slower.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions