Skip to content

SparkApplication shouldn't delete until the pods have been deleted #493

@NickLarsenNZ

Description

@NickLarsenNZ

Affected Stackable version

24.7.0

Affected Apache Spark-on-Kubernetes version

N/A

Current and expected behavior

When deleting a SparkApplication, the resource shouldn't be deleted until the child resources have been cleaned up by the operator.

Possible solution

Add finalizers to SparkApplication's, and remove them after cleanup is done.

Additional context

Noticed during demo testing before 24.11.

Environment

Client Version: v1.31.0
Kustomize Version: v5.4.2
Server Version: v1.31.2

Would you like to work on fixing this bug?

maybe

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions