Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaning up inactive resources #209

Open
3 tasks
mcopik opened this issue Jul 10, 2024 · 2 comments
Open
3 tasks

Cleaning up inactive resources #209

mcopik opened this issue Jul 10, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@mcopik
Copy link
Collaborator

mcopik commented Jul 10, 2024

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.
@mcopik mcopik added the good first issue Good for newcomers label Jul 10, 2024
@ghost
Copy link

ghost commented Nov 8, 2024

can i help with this

@mcopik
Copy link
Collaborator Author

mcopik commented Nov 8, 2024

@manic012 Sure! I recommend to either add a query for stopped/active containers to detect orphans, or to implement functions that query cloud resources to show and/or delete deployed functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant