Azure / Azure/rg-cleanup

Make cleanup threshold configurable per-resource group

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4
Forks
19
PR merge metrics
No merged PRs in 30d

Description

As we run larger and larger scale tests, some tests may take longer to run than the 4h that is currently configured to allow extra time for incrementally scaling clusters up to their full size and collecting logs. It would be great if we could let those jobs run longer while still cleaning up other resource groups more eagerly. Something like a new tag that could be set to `8h` and used in place of the `--ttl` command line flag for a particular resource group could enable that.

We might want to be careful with this though so we don't make it possible for a malicious actor to start a job that runs their favorite crypto miner or whatever for an indefinite amount of time. `/ok-to-test` should protect against that for presubmit jobs, but maybe we should still have a fallback maximum.

(This isn't urgent, just something I thought of that we might need in the short-ish term.)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.