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

ClusterIP services are not removed after Scheduler and Worker Pods complete #248

Closed
andrewwhivery opened this issue May 11, 2020 · 2 comments

Comments

@andrewwhivery
Copy link

When using deploy_mode='remote', the ClusterIP services remain after Scheduler and Worker Pods have completed.

Is there a way of removing these automatically?

dask-root-03d5b8bb-0   ClusterIP      10.0.157.39    <none>         8786/TCP,8787/TCP   4m25s

dask-root-07df042f-3   ClusterIP      10.0.247.117   <none>         8786/TCP,8787/TCP   3m7s

dask-root-113ab86f-8   ClusterIP      10.0.22.11     <none>         8786/TCP,8787/TCP   141m

dask-root-16580811-8   ClusterIP      10.0.218.18    <none>         8786/TCP,8787/TCP   5m34s

dask-root-1795ab06-1   ClusterIP      10.0.85.11     <none>         8786/TCP,8787/TCP   129m

dask-root-1fba19ef-6   ClusterIP      10.0.36.190    <none>         8786/TCP,8787/TCP   113m

dask-root-22d99316-5   ClusterIP      10.0.168.67    <none>         8786/TCP,8787/TCP   3h53m

dask-root-300a9f3f-9   ClusterIP      10.0.45.20     <none>         8786/TCP,8787/TCP   89m
@martindurant
Copy link
Member

The function _cleanup_resources appears to try to find and remove services so either a) the function is not being called (should happen when the cluster object is garbage collected) or b) the label template is not finding the right services. It would be good to have debug logging in that function to find out which. Do you think you can try to do this research?

@jacobtomlinson
Copy link
Member

The classic KubeCluster was removed in #890. All users will need to migrate to the Dask Operator. Closing.

@jacobtomlinson jacobtomlinson closed this as not planned Won't fix, can't repro, duplicate, stale Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants