Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add cpu/memory scaler #277

Merged
merged 3 commits into from
Oct 13, 2020
Merged

Conversation

silenceper
Copy link
Contributor

@silenceper silenceper commented Oct 3, 2020

Signed-off-by: silenceper silenceper@gmail.com

Relates to kedacore/keda#1215
Relates to kedacore/keda#1183

Copy link
Member

@tomkerkhove tomkerkhove left a comment

Choose a reason for hiding this comment

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

LGTM, nice and simple.

Will leave it up to @zroubalik to merge when implementation is done since I'm out next week.

content/docs/2.0/scalers/cpu.md Outdated Show resolved Hide resolved
content/docs/2.0/scalers/memory.md Outdated Show resolved Hide resolved
Signed-off-by: silenceper <silenceper@gmail.com>
Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

Minor nits.

content/docs/2.0/scalers/cpu.md Outdated Show resolved Hide resolved
content/docs/2.0/scalers/cpu.md Outdated Show resolved Hide resolved
content/docs/2.0/scalers/memory.md Outdated Show resolved Hide resolved
content/docs/2.0/scalers/memory.md Outdated Show resolved Hide resolved
@zroubalik
Copy link
Member

We should be vocal about the limitations of these scalers with ScaledJobs.

Signed-off-by: silenceper <silenceper@gmail.com>
@tomkerkhove
Copy link
Member

LGTM!

- type: cpu
metadata:
type: Utilization
type: "50"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
type: "50"
value: 50

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks.

Signed-off-by: silenceper <silenceper@gmail.com>
@zroubalik zroubalik merged commit 55b061e into kedacore:master Oct 13, 2020
@silenceper silenceper deleted the f-resource-scaler branch October 13, 2020 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants