Skip to content

"cleanPodPolicy: All" does not clean up launcher pod #643

Open
@hy00nc

Description

@hy00nc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions