question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’ve noticed we’re starting to accumulate a whole load of pods which are in the Terminated: Completed state.

Ideally these should be cleaned up in the same way JupyterHub cleans up pods after the user has logged off.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
mrocklincommented, Mar 14, 2018

Ah, I didn’t realize that this was necessary. It imagine that there are probably a few ways to do this:

  1. We could do it explicitly when we terminate the pod
  2. We could search for terminated pods when we start up new KubeClusters and close them.
  3. Perhaps there is some timeout we can put on pods in Kubernetes to have it take care of them?

On Wed, Mar 14, 2018 at 5:44 AM, Jacob Tomlinson notifications@github.com wrote:

I’ve noticed we’re starting to accumulate a whole load of pods which are in the Terminated: Completed state.

Ideally these should be cleaned up in the same way JupyterHub cleans up pods after the user has logged off.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dask/dask-kubernetes/issues/53, or mute the thread https://github.com/notifications/unsubscribe-auth/AASszGdEbTgw7I4bPvWuS_a9w64b0nnwks5teOZngaJpZM4SqHGB .

0reactions
jacobtomlinsoncommented, Oct 14, 2019

I’m going to close this out now as completed pods are cleaned up when a new cluster is started. There isn’t much we can do about fixing this when clusters are unexpectedly killed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

kubernetes cleanup of pods,service,deployment etc
Pods (that were created directly), deployments, and services can all be deleted independently of one another, order doesn't matter. If you want ...
Read more >
Garbage Collection - Kubernetes
Garbage collection is a collective term for the various mechanisms Kubernetes uses to clean up cluster resources. This allows the clean up ......
Read more >
How to automatically clean up failed Kubernetes Pod every 24 ...
This script is a Kubernetes cronjob which automatically deletes all the pods which are in failed state for more than an 24 hours....
Read more >
Clean Up Spark Driver Pods | Fusion 5.7
Spark driver pods are cleaned up using a Kubernetes cron job that runs every 15 minutes. This cron job is created automatically when...
Read more >
Clean up - OpenShift Tips
You can also skip the interactivity confirmation using the -f parameter: sudo podman system prune -a -f Deleted Pods Deleted Containers Deleted ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found