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

Runner pod for DaskJob fails to spawn #829

Open
creste opened this issue Oct 5, 2023 · 1 comment
Open

Runner pod for DaskJob fails to spawn #829

creste opened this issue Oct 5, 2023 · 1 comment

Comments

@creste
Copy link
Contributor

creste commented Oct 5, 2023

Describe the issue:

The runner pod for DaskJobs fails to spawn when a DaskJob is deleted and then re-created again quickly.

Minimal Complete Verifiable Example:

  1. Create a DaskJob using the example yaml from the Dask documentation.
kubectl apply -f daskjob.yaml
  1. Wait for the runner pod to start.
$ kubectl get all
NAME                                                             READY   STATUS      RESTARTS   AGE
pod/test-simple-job-default-worker-8911716d53-7f8dc4897-tlqm2    1/1     Running     0          5s
pod/test-simple-job-default-worker-ae18a247f6-64d8f6d6d7-xlf4m   1/1     Running     0          5s
pod/test-simple-job-runner                                       1/1     Running     0          6s
pod/test-simple-job-scheduler-7bc7cfb9b7-jlbb6                   0/1     Running     0          5s
  1. Delete the DaskJob.
kubectl delete -f daskjob.yaml
  1. Quickly re-create the DaskJob again.
kubectl apply -f daskjob.yaml

Anything else we need to know?:

This doesn't affect the scheduler or worker pods because they have a unique suffix appended to their names. The runner pod does not. See this code that generates the runner pod's name:

Environment:

  • Dask operator version: 2023.9.0
@jacobtomlinson
Copy link
Member

I think this will be solved by #695 (comment)

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

No branches or pull requests

2 participants