ic-nginx-ingress-ingress-nginx-controller pod is requesting CPU resources

Bug #1977763 reported by Karla Felix
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Karla Felix

Bug Description

Brief Description

While running tests in the lab I noticed that the ic-nginx-ingress-ingress-nginx-controller pods are requesting CPU resources. All platform pods are supposed to have no CPU resource requests as it messes up the reported CPU allocations and reduces the amount of CPU available to the user applications.

Severity

Minor: System/Feature is usable with minor issue .

Steps to Reproduce

Boot up the current stx load, run "kubectl describe node <nodename>" for either an AIO node or both controller and worker nodes, then look at the "CPU Requests" column in the table for "Non-terminated Pods".

Expected Behavior

There should be no CPU requests for pods in the platform namespaces.

Actual Behavior

ic-nginx-ingress-ingress-nginx-controller pod requested 100m (10% of a CPU)

Reproducibility

100% Reproducible

System Configuration

All

Last Pass

Not sure, it would have passed when we first modified all the platform pods to have no CPU requests. Not sure what release that was.

Timestamp/Logs

N/A

Alarms

N/A

Test Activity

Developer testing.

Workaround

Can still use the system, just can't allocate as many application CPUs as expected.

Karla Felix (kkarolin)
Changed in starlingx:
assignee: nobody → Karla Felix (kkarolin)
status: New → In Progress
Karla Felix (kkarolin)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nginx-ingress-controller-armada-app (master)

Reviewed: https://review.opendev.org/c/starlingx/nginx-ingress-controller-armada-app/+/844462
Committed: https://opendev.org/starlingx/nginx-ingress-controller-armada-app/commit/caa1833350f8d296af05b18e8591bb2f04fe7236
Submitter: "Zuul (22348)"
Branch: master

commit caa1833350f8d296af05b18e8591bb2f04fe7236
Author: Karla Felix <email address hidden>
Date: Thu Jun 2 10:19:02 2022 -0400

    Remove request of CPU by nginx

    Add overrides to remove CPU request by nginx.

    Test Plan:

    PASS: Check CPU usage request using "kubectl describe node <nodename>"

    Closes-Bug: 1977763

    Change-Id: Ib54275914da6281edf140c92628aced728f685a1
    Signed-off-by: Karla Felix <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.7.0 stx.apps
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.