Skip to main content

Manage retention rules & runs

After creating a tag retention rule, you can edit, temporarily disable, or delete it as your requirements change. FPT Cloud supports all management operations through the Portal interface.

Update a tag retention rule​

  1. On the FPT Portal menu, select Container Registry > Policy > select the tag retention rule to update > Actions > Edit.

    Select Edit in Actions

  2. Update the retention rule configuration.

    Retention rule edit form

  3. Verify the result after updating.

    Result after updating retention rule

Disable a tag retention rule​

  1. On the FPT Portal menu, select Container Registry > Policy > select the tag retention rule to disable > Actions > Disable.

    Select Disable in Actions

  2. Verify the status after disabling.

    Disabled state of retention rule

Enable a tag retention rule​

  1. On the FPT Portal menu, select Container Registry > Policy > select the tag retention rule to enable > Actions > Enable.

    Select Enable in Actions

  2. Verify the status after enabling.

    Enabled state of retention rule

Delete a tag retention rule​

danger

Deleting a tag retention rule cannot be undone. Deleted rules will no longer be applied to subsequent runs.

  1. On the FPT Portal menu, select Container Registry > Policy > select the tag retention rule to delete > Actions > Delete.

    Select Delete in Actions

  2. Verify the result after deleting.

    Result after deleting retention rule

Schedule a retention rule to run automatically​

Instead of running retention rules manually, you can set a schedule so the system executes them automatically on a recurring basis, keeping storage usage consistently optimized.

  1. On the FPT Portal menu, select Container Registry > Policy > Schedule > Edit.

    Edit Schedule button

  2. Select the execution frequency for the retention rule.

    Execution frequency options

    See Retention rule reference for the full list of frequency options.

    warning

    If you define multiple rules, the schedule applies to all rules. You cannot set different schedules for individual rules.

    Custom schedule configuration example:

    Custom schedule configuration example

  3. Click Save > OK to save the schedule.

    Confirm saving the schedule

  4. Verify the result after configuring the schedule.

    Schedule configuration result

Manage retention runs​

A retention run is the execution history of retention rules. FPT Cloud allows you to run rules manually, perform a dry run to verify before applying, abort an in-progress run, and view detailed logs.

Run a retention rule manually (Run now)​

  1. On the FPT Portal menu, select Container Registry > Policy > RUN NOW.

    RUN NOW button

  2. Click OK to confirm running the retention.

    Confirm RUN NOW

  3. Verify the result after running.

    Result after retention run

Perform a dry run​

A dry run checks the rules without actually deleting any images, letting you verify your configuration before applying.

  1. On the FPT Portal menu, select Container Registry > Policy > DRY RUN.

    DRY RUN button

  2. Verify the dry run result. No images are actually deleted.

    Result after DRY RUN

Abort an in-progress retention run​

  1. On the FPT Portal menu, select Container Registry > Policy > select the Running retention run > ABORT.

    ABORT button on running retention

  2. Click OK to confirm the abort.

    Confirm Abort

  3. Verify the result after aborting.

    Result after Abort

View the retention run list​

On the FPT Portal menu, select Container Registry > Policy to view the list of all runs.

Retention run list

View the log of a retention run​

  1. On the FPT Portal menu, select Container Registry > Policy > click a retention run to view its details.

    Retention run details

  2. Review the log for each repository in that run.

    Detailed log of retention run

Next steps​