Commit Graph

27 Commits

Author SHA1 Message Date
Jean-Marc ANDRE
910dbbbbd5 Restic repository now includes the targetName to avoid concurrency when multiple targets are doing backup simulteanously 2023-04-28 15:05:54 +02:00
Jean-Marc ANDRE
72390d9564 Pod anti affinity to avoid backup pod to be scheduled on the same node as the target pod 2023-04-27 15:41:00 +02:00
Jean-Marc ANDRE
bf2d50c41a We don't want to snapshot the same volume multiple time (subpath) 2023-04-27 15:37:15 +02:00
Jean-Marc ANDRE
fac6d9b620 backup snapshot finalized 2023-04-17 01:10:56 +02:00
Jean-Marc ANDRE
1de6a31e25 VolumeSnapshot will be deleted by the Job 2023-04-14 20:52:48 +02:00
Jean-Marc ANDRE
9a49ac96c4 Create PVC from VolumeSnapshot 2023-04-14 20:45:49 +02:00
Jean-Marc ANDRE
e7bb4b1149 Added Name alongside to Namespace to Session 2023-04-14 20:43:31 +02:00
7ca94b4048 A step farther with create volume from snapshot 2023-04-11 18:19:30 +02:00
Jean-Marc ANDRE
8b2aaf7211 First volume snapshot created 2023-04-11 10:48:57 +02:00
Jean-Marc ANDRE
06b372765b backupsession housekeeping. delete the old backup and the corresponding restic snapshots 2023-03-25 21:23:11 +01:00
Jean-Marc ANDRE
b91c767e82 Reworked Steps 2023-03-25 18:24:05 +01:00
Jean-Marc ANDRE
560271a294 backup / restore of OnlineKind and JobKind work 2023-03-24 21:52:49 +01:00
5e5e4a9a77 remove the initContainer once the restore is done 2023-03-24 11:30:30 +01:00
Jean-Marc ANDRE
8ea4e3bffe Restore OnlineKind 2023-03-23 22:19:58 +01:00
86417391d7 Prepared RestoreSession for OnlineKind with initContainer 2023-03-21 17:57:49 +01:00
9f40d2eb6c fixed imports 2023-03-21 10:36:39 +01:00
Jean-Marc ANDRE
0f8012c22e prepared BackupSession and RestoreSession common code 2023-03-20 22:14:41 +01:00
d4231768d7 Preparing the common code between BackupSession and RestoreSession 2023-03-17 16:42:49 +01:00
Jean-Marc ANDRE
319e226a30 The BackupSession controller in the sidecar should get the latest informtation about the repository everytime it reconciles because it might change 2023-03-06 23:05:57 +01:00
Jean-Marc ANDRE
d91f1e3f5d Reworked the scheduling. Tasks are run by SessionState now and not by Target 2023-02-27 00:54:43 +01:00
Jean-Marc ANDRE
e3aa5f3844 got job backup to work 2023-02-26 01:35:10 +01:00
Jean-Marc ANDRE
7773fadcea /proc/../environ and not /proc/../env 2023-02-21 01:08:07 +01:00
7f227c1ec4 Should backup paths 2023-02-20 10:30:31 +01:00
Jean-Marc ANDRE
fd8df677c2 Gather env variables from container.Env and container.EnvFrom 2023-02-15 13:55:34 +01:00
Jean-Marc ANDRE
f3735e1409 Small commit to start working on the Steps 2023-02-08 22:40:00 +01:00
Jean-Marc ANDRE
120b24b9aa No need to reschedule. 2023-02-07 23:28:54 +01:00
Jean-Marc ANDRE
80d31f1090 Most of the state machine is implemented 2023-02-07 23:14:25 +01:00