optimize backup schedules: compress dumps, stagger to weekly, extend retention
- dbaas: gzip MySQL/PostgreSQL dumps, stagger to 0:30, clean old uncompressed - infra-maintenance: etcd backup daily→weekly Sunday 1am - redis: backup hourly→weekly Sunday 3am, retention 7→28 days - vault: raft backup daily→weekly Sunday 2am
This commit is contained in:
parent
6e661fdfc5
commit
e463281205
4 changed files with 13 additions and 11 deletions
|
|
@ -249,7 +249,7 @@ resource "kubernetes_cron_job_v1" "vault_backup" {
|
|||
namespace = kubernetes_namespace.vault.metadata[0].name
|
||||
}
|
||||
spec {
|
||||
schedule = "0 2 * * *"
|
||||
schedule = "0 2 * * 0"
|
||||
successful_jobs_history_limit = 3
|
||||
failed_jobs_history_limit = 3
|
||||
concurrency_policy = "Forbid"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue