Bug 1809712

Summary: Kubelet sends lots of unnecessary patch requests to the API Server
Product: OpenShift Container Platform Reporter: Clayton Coleman <ccoleman>
Component: NodeAssignee: Ryan Phillips <rphillips>
Status: CLOSED ERRATA QA Contact: Sunil Choudhary <schoudha>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, jokerman, schoudha
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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
Story Points: ---
Clone Of: 1809709 Environment:
Last Closed: 2020-05-04 11:44:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1809709    
Bug Blocks:    

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