tencent cloud

Feedback

Image Lifecycle Management(old)

Last updated: 2021-12-06 17:36:32

    Overview

    Image lifecycle management supports global configuration and independent configuration for a specified image repository. If global image lifecycle management is enabled, the configured global rules are applied to all images of the root account. You can also configure an image tag automatic clearing policy for a specified image repository, and this policy has higher priority than the global configuration.

    This document describes how to implement image lifecycle management through the TKE console.

    Notes:

    • For an image repository, the image tag automatic clearing policy configured specifically for this image repository has higher priority than a global image lifecycle management policy.
    • After a global image lifecycle management policy is enabled, image tags are automatically cleared only after the number of image tags of the root account reaches the default quota.

    Directions

    Configuring global image lifecycle management

    1. Log in to the TKE console, and choose Image Repositories -> My Images in the left sidebar.
    2. On the My Images page, click Image Lifecycle Management. See the figure below.
    3. In the Image Lifecycle Management window that appears, configure the related parameters. See the figure below.
      • Enable Status: select Enable image lifecycle management.
      • Global Rule:
        • Reserve the latest XX image tags: enter a number based on your actual needs. The number cannot exceed the default quota of image tags under the current root account.
        • Reserve image tags in the last XX days: enter a number based on your actual needs.
    4. Click OK.

    Configuring an image tag automatic clearing policy for a specified image repository

    1. Log in to the TKE console, and choose Image Repositories -> My Images in the left sidebar.
    2. On the My Images list, click the name of the target image to go to the details page of this image.
    3. Click set an automatic clearing policy in the prompt above the image tag list. See the figure below.
    4. In the Setting Automatic Clearing Policy window that appears, configure the related parameters. See the figure below.
      • Reserve the latest XX image tags: enter a number based on your actual needs. The number cannot exceed the default quota of image tags under the current root account.
      • Reserve image tags in the last XX days: enter a number based on your actual needs.
    5. Click OK.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support