Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-75925

[release-4.18] VPA recommendation dropped to minimal request due to upstream issue #7726

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 4.18.z
    • 4.16
    • Pod Autoscaler
    • None
    • False
    • Hide

      None

      Show
      None
    • 0
    • Moderate
    • None
    • None
    • None
    • None
    • In Progress
    • Bug Fix
    • Hide
      Before this update, rounding errors occurred when the Vertical Pod Autoscaler (VPA) Recommender loaded histograms from checkpoints after a restart. As a consequence, the VPA Recommender produced invalid memory recommendations with a value of `0`, which might have caused pods to receive insufficient resources and to fail to perform correctly. With this release, the logic for loading histogram data is corrected to eliminate these rounding errors. As a result, the VPA Recommender consistently provides accurate memory recommendations even after a restart, which ensures the stability and proper scaling of managed workloads. (link:https://issues.redhat.com/browse/OCPBUGS-75925[OCPBUGS-75925])
      Show
      Before this update, rounding errors occurred when the Vertical Pod Autoscaler (VPA) Recommender loaded histograms from checkpoints after a restart. As a consequence, the VPA Recommender produced invalid memory recommendations with a value of `0`, which might have caused pods to receive insufficient resources and to fail to perform correctly. With this release, the logic for loading histogram data is corrected to eliminate these rounding errors. As a result, the VPA Recommender consistently provides accurate memory recommendations even after a restart, which ensures the stability and proper scaling of managed workloads. (link: https://issues.redhat.com/browse/OCPBUGS-75925 [ OCPBUGS-75925 ])
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-63455. The following is the description of the original issue:

      Description of problem:

      VPA and encountered an issue where the VPA recommendation dropped to minimal request, preventing pods from starting. This seems to align with a known upstream issue[1]
      
      As per above, the issue has been fixed in vpa-release 1.3 and newer, which is included in Kubernetes 1.33. 
      
      However, our latest OpenShift version 4.19 is still based on Kubernetes 1.32.
      I am raising this jira ticket to backport the fix to previous version of OpenShift as per https://redhat-internal.slack.com/archives/C02F1J9UJJD/p1761046027851589
      - [1] https://github.com/kubernetes/autoscaler/issues/7726

              rh-ee-macao Max Cao
              rhn-support-harspati Harshada Patil
              None
              None
              Paul Rozehnal Paul Rozehnal
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: