Bug 1809712 - Kubelet sends lots of unnecessary patch requests to the API Server
Summary: Kubelet sends lots of unnecessary patch requests to the API Server
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.4.0
Assignee: Ryan Phillips
QA Contact: Sunil Choudhary
URL:
Whiteboard:
Depends On: 1809709
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-03 18:01 UTC by Clayton Coleman
Modified: 2020-05-04 11:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: 50% of Kubelet patch calls were no-op operations. This fix optimizes the API calls to only send a patch request when there is a change in status. Consequence: Fix: Result: Improves performance
Clone Of: 1809709
Environment:
Last Closed: 2020-05-04 11:44:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift origin pull 24639 0 None closed [release-4.4] Bug 1809712: Don't send no-op pod status patches 2020-07-23 16:18:02 UTC
Red Hat Product Errata RHBA-2020:0581 0 None None None 2020-05-04 11:44:47 UTC

Description Clayton Coleman 2020-03-03 18:01:49 UTC
+++ This bug was initially created as a clone of Bug #1809709 +++

About 50% of pod patch status calls from Kubelets are no-ops (they don't change anything). We can detect that on the client side and avoid sending them, which reduces API traffic and CPU use on masters in large clusters.

Safe change with a nice performance win.

--- Additional comment from Clayton Coleman on 2020-03-03 13:01:06 EST ---

Kube PR #88591

Comment 6 errata-xmlrpc 2020-05-04 11:44:29 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, 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/RHBA-2020:0581


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