X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=fdio.infra.ansible%2Froles%2Fnomad%2Fdefaults%2Fmain.yaml;h=01f020ad81f9224c49db85609bee0d9129645344;hb=5a1f1b7fa58c082dd359a7b4df700f5df3839bfd;hp=da9a872f83a5e7d3b8f0e3a4e4cb87f37690f625;hpb=78a8427cc50c137e5d59ad3448ae128fdda369b2;p=csit.git diff --git a/fdio.infra.ansible/roles/nomad/defaults/main.yaml b/fdio.infra.ansible/roles/nomad/defaults/main.yaml index da9a872f83..01f020ad81 100644 --- a/fdio.infra.ansible/roles/nomad/defaults/main.yaml +++ b/fdio.infra.ansible/roles/nomad/defaults/main.yaml @@ -85,6 +85,21 @@ nomad_volumes: [] nomad_bootstrap_expect: 2 nomad_encrypt: "" nomad_retry_join: true +# Specifies how long a node must be in a terminal state before it is garbage +# collected and purged from the system. +nomad_node_gc_threshold: "24h" +# Specifies the interval between the job garbage collections. Only jobs who have +# been terminal for at least job_gc_threshold will be collected. +nomad_job_gc_interval: "1m" +# Specifies the minimum time a job must be in the terminal state before it is +# eligible for garbage collection. +nomad_job_gc_threshold: "1m" +# Specifies the minimum time an evaluation must be in the terminal state before +# it is eligible for garbage collection. +nomad_eval_gc_threshold: "1m" +# Specifies the minimum time a deployment must be in the terminal state before +# it is eligible for garbage collection. +nomad_deployment_gc_threshold: "1m" # Conf - telemetry.hcl nomad_disable_hostname: false