Bug 2102947 - [VPA] recommender is logging errors for pods with init containers
Summary: [VPA] recommender is logging errors for pods with init containers
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 4.6.z
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.11.0
Assignee: Joel Smith
QA Contact: Weinan Liu
URL:
Whiteboard:
Depends On: 1944065
Blocks: 2105110
TreeView+ depends on / blocked
 
Reported: 2022-07-01 05:21 UTC by OpenShift BugZilla Robot
Modified: 2022-08-15 18:41 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Recent versions of the prometheus-adapter metrics server send additional pod-specific metrics, which confuse the Vertical Pod Autoscaler (VPA) recommender. Consequence: When the extra metrics are received by the VPA, it logs a warning message. Depending upon the size of the cluster, the VPA recommender can log many megabytes of log messages per day of this form: Error adding metric sample for container {{example-pod-name} POD}: KeyError: {{example-pod-name} POD} Fix: The new version of the VPA recognizes and ignores the extra metrics. Result:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:19:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift kubernetes-autoscaler pull 234 0 None open [release-4.11] Bug 2102947: Have VPA ignore phantom containers named "POD" 2022-07-01 05:21:28 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:20:05 UTC

Comment 5 errata-xmlrpc 2022-08-10 11:19:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5069


Note You need to log in before you can comment on or make changes to this bug.