fix(backup): 手动备份按服冷却、每服保留上限与独立保留期,容量驱逐不再删除回收世界的唯一副本
This commit is contained in:
30 files changed
+801
-42
No files matched your search
@@ -138,6 +138,10 @@ func RestoreJob(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
|
||||
|
||||
job := &batchv1.Job{
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Name: RestoreJobName(p.Server),
|
||||
|
||||
Reference in new issue
Block a user