backup uptimek uma db daily [ci skip]

This commit is contained in:
Viktor Barzin 2025-05-10 18:55:14 +00:00
parent b9870d8f06
commit 2197474b2f
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863

View file

@ -126,13 +126,14 @@ resource "kubernetes_cron_job_v1" "postgresql-backup" {
spec { spec {
concurrency_policy = "Replace" concurrency_policy = "Replace"
failed_jobs_history_limit = 5 failed_jobs_history_limit = 5
schedule = "0 */6 * * *" schedule = "0 0 * * *"
# schedule = "* * * * *" # schedule = "* * * * *"
starting_deadline_seconds = 10 starting_deadline_seconds = 10
successful_jobs_history_limit = 3 successful_jobs_history_limit = 3
job_template { job_template {
metadata {} metadata {}
spec { spec {
active_deadline_seconds = 600 # should finish in 10 minutes
backoff_limit = 3 backoff_limit = 3
ttl_seconds_after_finished = 10 ttl_seconds_after_finished = 10
template { template {