FluxCD platform pods are requesting CPU resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Thiago Paiva Brito |
Bug Description
Brief Description
-----------------
While running tests in the lab I noticed that the helm-controller and source-controller pods in the flux-helm namespace 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 customer applications.
Severity
--------
Minor: System/Feature is usable with minor issue (unless the customer wants to use every available CPU)
Note: due to the fact that customers can easily test this, Matt has mentioned that he views this issue as gating.
Steps to Reproduce
------------------
Boot up the current StarlingX, 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
-----------------
helm-controller pod requested 100m (10% of a CPU), and source-controller pod requested 50m (5% of a CPU).
Non-terminated Pods: (18 in total)
Namespace Name CPU CPU Memory Memory Age
--------- -------
armada armada-
cert-manager cm-cert-
cert-manager cm-cert-
cert-manager cm-cert-
flux-helm helm-controller
flux-helm source-
kube-system calico-node-8xzsg 250m (1%) 0 (0%) 0 (0%) 0 (0%) 3d11h
kube-system cephfs-
kube-system coredns-
kube-system ic-nginx-
Reproducibility
-----------------
100% Reproducible
System Configuration
-------
All
Last Pass
---------
FluxCD is relatively new, so it was probably introduced with FluxCD.
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.
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.7.0 stx.apps |
Changed in starlingx: | |
assignee: | nobody → Thiago Paiva Brito (outbrito) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/843283
Review: https:/