You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: move live Statfs to RemainingResources; use *uint64 for min-free config
- TotalResources reverts to static startup value to keep total-remaining
arithmetic consistent for BBS metrics
- RemainingResources caps reported DiskMB at live partition free space
(syscall.Statfs), so schedulers see reduced capacity when disk fills
- MinCachePartitionFreeBytes changed to *uint64: nil means use the 5 GB
default, 0 explicitly disables the check (previously impossible)
ai-assisted=yes
TNZ-111552
Copy file name to clipboardExpand all lines: jobs/rep/spec
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -147,6 +147,8 @@ properties:
147
147
diego.executor.max_cache_size_in_bytes:
148
148
description: "maximum size of the cache in bytes - this should leave a healthy overhead for temporary items, etc."
149
149
default: 10000000000
150
+
diego.executor.min_cache_partition_free_bytes:
151
+
description: "Minimum free space in bytes that must remain on the disk where the download cache lives. When actual disk free space falls below this threshold, the cache deletes old downloaded files to recover space. Uses live partition statistics rather than in-memory accounting. Defaults to 5368709120 (5 GB) if unset."
150
152
diego.executor.use_schedulable_disk_size:
151
153
description: "Use total space available to containers reported by Garden. If false the total size of image plugin store minus max_cache_size_in_bytes is used."
Copy file name to clipboardExpand all lines: jobs/rep_windows/spec
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -129,6 +129,8 @@ properties:
129
129
diego.executor.max_cache_size_in_bytes:
130
130
description: "maximum size of the cache in bytes - this should leave a healthy overhead for temporary items, etc."
131
131
default: 10000000000
132
+
diego.executor.min_cache_partition_free_bytes:
133
+
description: "Minimum free space in bytes that must remain on the disk where the download cache lives. When actual disk free space falls below this threshold, the cache deletes old downloaded files to recover space. Currently does not function on Windows cells. Defaults to 5368709120 (5 GB) if unset."
132
134
diego.executor.use_schedulable_disk_size:
133
135
description: "Use total space available to containers reported by Garden. If false the total size of image plugin store minus max_cache_size_in_bytes is used."
0 commit comments