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

HPA: propose to use default scale configuration (targetCPUUtilizationPercentage: 70) #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sebdoido
Copy link

The following documentation presents some strong defaults for HPA
https://blablacar.atlassian.net/wiki/spaces/CD/pages/2271379457/Stateless+right+sizing+of+your+application+CPU+Memory+HPA#HorizontalPodAutoscaler-(HPA)-Guidelines

If your workload uses scaling based on CPU => 70% threshold should be enforced (.spec.targetCPUUtilizationPercentage: 70) and other values are strongly NOT recommended, because:

  • higher threshold could lead to CPU issues on the hosting node and impact on neighbor workloads so it can’t be decided alone (consult Foundations !)
  • lower introduces more waste and the problems it solves can be fixed by using smaller pods

This PR proposes to rely on this 70% cpu utilization.
If for any reason, your workload should not use this settings, let us know :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant