Skip to content

Orphaned PVs if provisioner gets killed and restarted #47

Closed
@sbezverk

Description

@sbezverk

Currently there is a check in the provisioner before PV gets deleted for a privisioner ID and if it does not match with the ID of current provisioner PV does not get deleted. While playing for hostpath plugin, I killed and re-created provisioner, as a result provisioner got new ID and refused to delete previous' privisioner created volumes, so bunch of PVs became a sort of orphaned and needed manual deletion.
Maybe we should not check for provisioner identity? What does this check serve for?

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions