Skip to content

Improve guidance about storage-detaching event #2257

@dwilding

Description

@dwilding

In How to manage storage we have a section called "Handle storage detaching".

We should clarify whether this section applies to machine charms, K8s charms, or both.

Juju only supports manually detaching storage for machine charms. If you try juju detach-storage for a K8s charm, you'll get an error:

ERROR Juju command "detach-storage" not supported on container models

However, I don't think this means it's pointless to observe the storage-detaching event in a K8s charm. You might still want to observe the event so that you can clean up storage during the teardown phase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    26.04An item we hope to do in the 26.04 cycledocsImprovements or additions to documentationrainy daySmall items done in ~10% of each week's time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions