Bug 1889912 - Drains can cause high CPU usage
Summary: Drains can cause high CPU usage
Keywords:
Status: VERIFIED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Machine Config Operator
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: 4.7.0
Assignee: Ryan Phillips
QA Contact: Sunil Choudhary
URL:
Whiteboard:
: 1882000 1891412 (view as bug list)
Depends On:
Blocks: 1869362 1893483
TreeView+ depends on / blocked
 
Reported: 2020-10-20 21:50 UTC by Ryan Phillips
Modified: 2020-11-11 14:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Github openshift machine-config-operator pull 2191 None closed Bug 1889912: vendor in drain fix for using high cpu 2020-12-01 08:22:27 UTC

Description Ryan Phillips 2020-10-20 21:50:58 UTC
Description of problem:

Saw this merged upstream PR fixing high CPU usage on drains. https://github.com/kubernetes/kubernetes/pull/95260. 

The MCO uses the same/similar code on upgrades as well: https://github.com/openshift/machine-config-operator/blob/08ddac370a125ac1b72c5b80069efd8ae31489b6/vendor/k8s.io/kubectl/pkg/drain/drain.go#L321

We need to backport the patch to 4.6, and likely 4.5 as well.

Comment 2 Kirsten Garrison 2020-10-21 17:28:07 UTC
The current fix is in kubectl master and 1.20 isn't cut yet(that's December) so I have to wait until the backport hits 1.19 via https://github.com/kubernetes/kubernetes/pull/95710 and can get it from there.

Comment 5 Ryan Phillips 2020-11-10 15:39:06 UTC
*** Bug 1891412 has been marked as a duplicate of this bug. ***

Comment 6 Ryan Phillips 2020-11-11 14:00:44 UTC
*** Bug 1882000 has been marked as a duplicate of this bug. ***


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