-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #815 from k8up-io/change/docs
Update docs with RWO backup feature
- Loading branch information
Showing
4 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
= How RWO Backups are implemented | ||
|
||
K8s does not prevent mounting a RWO PVC to multiple pods, if they are scheduled on the same host. | ||
K8up uses this fact to provide the ability to back up RWO PVCs. | ||
|
||
For a given backup in a namespace K8up will list all the PVCs. | ||
The PVCs are then grouped depending on their type: | ||
|
||
* all RWX PVCs are grouped together | ||
* RWO PVCs are grouped by k8s node where they are currently mounted | ||
K8up will then deploy backup jobs according to the grouping, a single job for all RWX PVCs and a job for each K8s node. | ||
The jobs themselves work as before, they loop over the mounted PVCs and do a file backup via restic. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters