Skip to content

Triggering snapshots when Volume Snapshots are not enabled in K8s returns a vague error. #7

@iamjoemccormick

Description

@iamjoemccormick

If a user doesn't go through the steps to enable volume snapshots on their Kubernetes cluster before attempting to trigger a snapshot, a vague 404 error will be returned from the Kubernetes API server because "API Objects VolumeSnapshot, VolumeSnapshotContent, and VolumeSnapshotClass are CRDs and not part of the core API".

To improve the user experience we should handle this error and return a message suggesting the user double check they went through the prerequisite tasks needed to enable VolumeSnapshots and link to the Trident documentation.

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