fix(backup): 手动备份按服冷却、每服保留上限与独立保留期,容量驱逐不再删除回收世界的唯一副本
This commit is contained in:
30 files changed
+801
-42
No files matched your search
@@ -159,6 +159,10 @@ func BackupJob(p JobParams) (*batchv1.Job, error) {
|
||||
},
|
||||
}
|
||||
|
||||
// The exit error reaches GET /servers/{name}/jobs through the terminated
|
||||
// state (api.K8sJobStatus), in place of the Job's generic backoff text.
|
||||
container.TerminationMessagePolicy = corev1.TerminationMessageFallbackToLogsOnError
|
||||
|
||||
name := p.JobName
|
||||
if name == "" {
|
||||
name = BackupJobName(p.Server)
|
||||
|
||||
Reference in new issue
Block a user