这是indexloc提供的服务,不要输入任何密码
Skip to content

Confirmation that the reclaimPolicy:delete can delete CRs from Amazon S3 bucket #1036

@antwynne

Description

@antwynne

Customer has the reclaimPolicy:delete set and Trident does not delete the S3 CRs after deleting the Backup CRs.

I was told that Trident treats the Amazon S3 Bucket as an external user managed storage target and does not apply the clean up of its contents when doing the CR deletion.
However https://docs.netapp.com/us-en/trident/trident-protect/trident-protect-protect-apps.html#create-an-on-demand-snapshot shows:

spec.reclaimPolicy: (Optional) Defines what happens to the AppArchive of a snapshot when the snapshot CR is deleted. This means that even when set to Retain, the snapshot will be deleted. Valid options:

Retain (default)

Delete


apiVersion: protect.trident.netapp.io/v1
kind: Snapshot
metadata:
namespace: my-app-namespace
name: my-cr-name
spec:
applicationRef: my-application
appVaultRef: appvault-name
reclaimPolicy: Delete

Can you please confirm if Trident can delete the files in S3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions