From f93cb353ca70fa0286b3a253698f71693d8c42b6 Mon Sep 17 00:00:00 2001 From: Josh Sandlin Date: Fri, 14 Aug 2026 09:58:52 -0400 Subject: [PATCH] move gc to a set time window --- ansible/inventory/group_vars/all.yml | 3 +++ ansible/templates/zot-config.json.j2 | 1 + 2 files changed, 4 insertions(+) diff --git a/ansible/inventory/group_vars/all.yml b/ansible/inventory/group_vars/all.yml index 086f863..538b972 100644 --- a/ansible/inventory/group_vars/all.yml +++ b/ansible/inventory/group_vars/all.yml @@ -25,6 +25,9 @@ docker_users: # Application deployment app_root: /opt/ttlsh +# UTC window during which Zot may start its daily garbage-collection sweep. +zot_gc_time_window: "00:00-03:00" + # S3-compatible object storage backing the zot registry s3_bucket: "_in_doppler" s3_region: "_in_doppler" diff --git a/ansible/templates/zot-config.json.j2 b/ansible/templates/zot-config.json.j2 index 7774804..c93415e 100644 --- a/ansible/templates/zot-config.json.j2 +++ b/ansible/templates/zot-config.json.j2 @@ -5,6 +5,7 @@ "redirectBlobURL": true, "dedupe": false, "gc": true, + "gcTimeWindow": "{{ zot_gc_time_window }}", "storageDriver": { "name": "s3", "rootdirectory": "{{ s3_root_directory }}",