Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

bug(*): Fix memory targetAverageUtilization #4453

Merged
merged 1 commit into from
Jan 14, 2022

Conversation

shalier
Copy link
Contributor

@shalier shalier commented Jan 14, 2022

Description:
Update HPA yamls from averageValue to averageUtilization
and resolves #4451

Signed-off-by: Shalier Xia shalierxia@microsoft.com

Testing done:
Ran HPA enabled for osmController and injector for bookstore demo and percentages are seen for both CPU and memory utilization.
image

Affected area:

Functional Area
Other [x ]

Please answer the following questions with yes/no.

  1. Does this change contain code from or inspired by another project? no

    • Did you notify the maintainers and provide attribution?
  2. Is this a breaking change? no

Update HPA yamls from averageValue to averageUtilization
and resolves openservicemesh#4451

Signed-off-by: Shalier Xia <shalierxia@microsoft.com>
Copy link
Member

@shashankram shashankram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@codecov-commenter
Copy link

Codecov Report

Merging #4453 (4c265a1) into main (95fb342) will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4453      +/-   ##
==========================================
+ Coverage   69.14%   69.19%   +0.04%     
==========================================
  Files         212      212              
  Lines       14580    14580              
==========================================
+ Hits        10082    10088       +6     
+ Misses       4446     4440       -6     
  Partials       52       52              
Flag Coverage Δ
unittests 69.19% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/certificate/rotor/rotor.go 84.78% <0.00%> (-2.18%) ⬇️
pkg/crdconversion/crdconversion.go 74.62% <0.00%> (+5.22%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 95fb342...4c265a1. Read the comment docs.

@nojnhuh nojnhuh merged commit bfc256d into openservicemesh:main Jan 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

For HPA, memory not showing as percentage
6 participants