Skip to content
This repository has been 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

Open
blackandred opened this issue Mar 12, 2023 · 0 comments

Comments

@blackandred
Copy link
Contributor

blackandred commented Mar 12, 2023

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant