spcl/serverless-benchmarks

Cleaning up inactive resources

Offen

#209 geöffnet am 10.07.2024

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (99 Forks)auto 404
good first issue

Repository-Metriken

Stars
 (196 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

SeBS keeps a list of cached cloud resources. However, the cache entries can become stale and invalid - this primarily applies to local deployment, where containers will be easily removed. Right now, a cached but removed container will throw an exception and force users to manually fix cache entries. We should be able to do it automatically.

  • Detect old containers and reject them, issuing a warning.
  • Add option to sebs resources to clean up local containers.
  • Add option to sebs resources to look for and stop remove orphaned containers, e.g., Azure CLI after crash; a complete killswitch.

Contributor Guide