mpi-operator icon indicating copy to clipboard operation
mpi-operator copied to clipboard

"cleanPodPolicy: All" does not clean up launcher pod

Open hy00nc opened this issue 1 year ago • 1 comments

In MPIJob spec.runPolicy.cleanPodPolicy, we can set "All" to clean up all pods after completion including the launcher pod. However, it seems it only cleans up worker pods, as you can see in this code.

Using the official example pi.yaml, if you change "cleanPodPolicy: Running" to "cleanPodPolicy: All", you can reproduce the issue.

hy00nc avatar May 27 '24 08:05 hy00nc

Feel free to open a PR

alculquicondor avatar May 27 '24 13:05 alculquicondor