mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Periodic GC for volume claims (#7881)
This changeset implements a periodic garbage collection of CSI volumes with missing allocations. This can happen in a scenario where a node update fails partially and the allocation updates are written to raft but the evaluations to GC the volumes are dropped. This feature will cover this edge case and ensure that upgrades from 0.11.0 and 0.11.1 get any stray claims cleaned up.
This commit is contained in:
1
command/agent/testdata/basic.json
vendored
1
command/agent/testdata/basic.json
vendored
@@ -257,6 +257,7 @@
|
||||
"authoritative_region": "foobar",
|
||||
"bootstrap_expect": 5,
|
||||
"csi_plugin_gc_threshold": "12h",
|
||||
"csi_volume_claim_gc_threshold": "12h",
|
||||
"data_dir": "/tmp/data",
|
||||
"deployment_gc_threshold": "12h",
|
||||
"enabled": true,
|
||||
|
||||
Reference in New Issue
Block a user