Setting build tag limits

When you run different server bundles and have multiple builds, the image registry can run out of space. You can set build tag limits to manage space and make more resources available.

About this task

Repeated builds of Maximo® Manage images create many images in the image registry. Adjust the custom resource definition based to prevent the image registry from retaining too many images. If you use an external registry, manually remove images by using the method for the external registry.

By default, Maximo Manage retains 10 old build tags.

Procedure

  1. Log in to Red Hat® OpenShift® web console by using your administrator credentials.
  2. From the side navigation menu, click Administration > CustomResourceDefinitions.
  3. On the CustomResourceDefinitions page, search for manageworkspace.
  4. Click manageworkspace and then click the Instances tab.
  5. Select an instance and click the YAML tab.
  6. In the spec.settings.deployment section, change the default value of buildTagLimit from 10 to the value that you require.
  7. Click Save.
    Note: Setting the build tag limit does not directly delete the images from the image registry. The Red Hat OpenShift pruning mechanism deletes any orphaned resources. For more information, see Pruning objects to reclaim resources.