From ee46a61b878b14addcd58ee1d78606b73576a34b Mon Sep 17 00:00:00 2001 From: aleskandro Date: Mon, 16 Oct 2023 18:50:05 +0200 Subject: [PATCH] Memoization and TTLs tuning --- argo-workflows/okd-workflows/20-build-multiarch-image.yaml | 4 ++-- argo-workflows/okd-workflows/30-tpl-build-memoize.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/argo-workflows/okd-workflows/20-build-multiarch-image.yaml b/argo-workflows/okd-workflows/20-build-multiarch-image.yaml index 3b164de..7542811 100644 --- a/argo-workflows/okd-workflows/20-build-multiarch-image.yaml +++ b/argo-workflows/okd-workflows/20-build-multiarch-image.yaml @@ -4,8 +4,8 @@ metadata: name: build-multiarch-image spec: ttlStrategy: - secondsAfterFailure: 86400 - secondsAfterSuccess: 8400 + secondsAfterFailure: 259200 # 3 days + secondsAfterSuccess: 86400 # 1 day entrypoint: entrypoint arguments: parameters: diff --git a/argo-workflows/okd-workflows/30-tpl-build-memoize.yaml b/argo-workflows/okd-workflows/30-tpl-build-memoize.yaml index 66c18e6..8765330 100644 --- a/argo-workflows/okd-workflows/30-tpl-build-memoize.yaml +++ b/argo-workflows/okd-workflows/30-tpl-build-memoize.yaml @@ -107,7 +107,7 @@ spec: - name: architectures memoize: key: "{{inputs.parameters.memoization-key}}" - maxAge: "6h" + maxAge: "96h" # 4 days memoization cache: configMap: name: build-okd