Create lifecycle rules using the object browser in the OpenShift Web Console.
Before you begin
- Administrators: Administrator access to Fusion Data Foundation.
- Developers: Logged in to the object browser using secret namespace and secret name. For
more information see Accessing the object browser.
- Ensure that the selected storage endpoint (MCG or RGW) is deployed and its pods are
healthy.
Procedure
- In the OpenShift Web Console, navigate to
.
- From the Storage endpoint selector, choose MCG or RGW, then open the
bucket.
- Click the Management tab.
- Click Create lifecycle rule.
- Enter a name for the lifecycle rule.
- Select a Rule scope:
- Targeted (filters: prefix, tags, size)
- Global (Bucket-wide)
- Add one or more actions:
- Delete an object after a specified time
For a versioned bucket, the
current version of the object is retained as a noncurrent version. For a nonversioned object, the
object is deleted permanently.
- Noncurrent versions of the objects
This rule applies to only the
versioned objects and deletes the older versions of the objects after they become
noncurrent.
- Incomplete multipart uploads
This rule cleans up the abandoned uploads
that were initiated but never completed after a specified time to prevent unnecessary storage costs.
The object tags and size filter that were specified for the object with the targeted rule scope are
not applicable for this rule and it deletes all multipart uploads from the bucket regardless of any
filter.
- Expired object delete markers
This rule removes any unnecessary delete
markers in versioned buckets that do not have any associated object versions, which might clutter
bucket listings. The object tags and size filter that were specified for the object with the
targeted rule scope are not applicable for this rule and it deletes all multipart uploads from the
bucket regardless of any filter.
Note:
- The object tags and object size filters are not applicable for this rule. The expired object
delete markers are removed from the bucket regardless of any filters that are configured.
- This rule is not enabled when deleting an object after a specified time rule is selected.
- Click Save.