keep only 1 successful and failed job for updating public ip cj [ci skip]
This commit is contained in:
parent
543fca5dbb
commit
28f8000dc7
1 changed files with 4 additions and 2 deletions
|
|
@ -11,8 +11,10 @@ resource "kubernetes_cron_job_v1" "update-public-ip" {
|
|||
namespace = "default"
|
||||
}
|
||||
spec {
|
||||
schedule = "*/5 * * * *"
|
||||
concurrency_policy = "Forbid"
|
||||
schedule = "*/5 * * * *"
|
||||
successful_jobs_history_limit = 1
|
||||
failed_jobs_history_limit = 1
|
||||
concurrency_policy = "Forbid"
|
||||
job_template {
|
||||
metadata {
|
||||
name = "update-public-ip"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue