Default parameters of the Garbage Collection in ARO

Solution Verified - Updated -

Environment

  • Azure Red Hat Openshift (ARO)
    • 4

Issue

  • Is Garbage Collection configured in ARO?
  • Is it possible to verify the value of the existing imageGCHighThresholdPercent under Garbage Collection?
  • Is it possible to modify the Garbage Collection parameters in ARO clusters?

Resolution

Garbage Collection is configured by default in ARO, but it is not possible to modify or do any customization in it.

Below are the default values for the Garbage Collection parameters in ARO clusters:

    "imageMinimumGCAge": "2m0s",
    "imageGCHighThresholdPercent": 85,
    "imageGCLowThresholdPercent": 80,

Default Garbage Collection in OpenShift 4 is explained in Default values for the garbage collection related parameters on OCP4.

Root Cause

Garbage Collection is configured by default in ARO, but it is not possible to modify or do any customization in it.

Diagnostic Steps

Garbage Collection parameters can be checked using the below command:

$ oc get --raw /api/v1/nodes/${node-name}/proxy/configz | jq

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments