-
Bug
-
Resolution: Unresolved
-
Undefined
-
4.20
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
When deployment has resource requests set, on 'Add HorizontalPodAutoscaler' page, the warning msg still shows up: "CPU and memory resource requests must be set if you want to use CPU and memory utilization. The HorizontalPodAutoscaler will not have CPU or memory metrics until resource requests are set."
Version-Release number of selected component (if applicable):
4.20.0-0.nightly-2025-05-19-144844
How reproducible:
Always
Steps to Reproduce:
1. Create a deployment with resource requests set, click 'Add HorizontalPodAutoscaler' in action list. 2.Check warning message on the page. 3. Update the deployment to set resource limits and not requests, click 'Add HorizontalPodAutoscaler' in action list, check warning message on the page.
Actual results:
2. The message shows up: "CPU and memory resource requests must be set if you want to use CPU and memory utilization. The HorizontalPodAutoscaler will not have CPU or memory metrics until resource requests are set." 3. The warning message disappears.
Expected results:
2. Should not show the warning message if deployment has already resource requests set. 3. Should show warning message since resource requests are not set.
Additional info: