Skip to content

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.

2 participants