-
Notifications
You must be signed in to change notification settings - Fork 406
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
Enable users to scale a function based on a custom metric #11225
Comments
We thought originally that we should introduce prometheus adapter as a managed component in kyma, but it might be idle in case somebody is fine with just the standard CPU and memory utilisation targets. Instead, we would like to enable users to define scaling rules per function based on built-in or ANY custom metrics that re available in the runtime. We would like to show how custom metrics could be enabled but we refrain from enabling them for all as there are no golden metrics suitable for all and they really depend on the use case. |
Investigating how users could use KEDA + prometheus scaler to scale any workload in kyma |
This issue has been automatically marked as stale due to the lack of recent activity. It will soon be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale due to the lack of recent activity. It will soon be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale due to the lack of recent activity. It will soon be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to the lack of recent activity. /lifecycle rotten |
Next steps: #15290 |
Description
As a user I want more flexibility when defining scaling rules per function.
I want to define min and max replicas as well as metrics and target utilisation levels
AC
Execution
Reasons
Currently we allow to setup scaling based on CPU utilisation only (APP_FUNCTION_TARGET_CPU_UTILIZATION_PERCENTAGE).
It is not flexible enough. Scaling strategies may vary depending of the workload use case therefore various scaling strategies should be allowed ( i.e event-driven by request rate )
Additionally, the 50% CPU threshold for HPA autoscaling does not do exactly what we anticipate it should do. The presence of istio side car caontainer( with high demand on cpu on its own ) makes this strategy unreliable as HPA controller sees the cpu consumption on the pod level.
The text was updated successfully, but these errors were encountered: