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

Autoscaling function deployment in serverless-kubeless (HPA) #231

Open
a7i opened this issue Apr 2, 2021 · 0 comments
Open

Autoscaling function deployment in serverless-kubeless (HPA) #231

a7i opened this issue Apr 2, 2021 · 0 comments

Comments

@a7i
Copy link

a7i commented Apr 2, 2021

Ability to specify auto-scaling configuration. kubeless CLI allows setting it up using metrics as shown below:

$ kubeless autoscale create --help
automatically scale function based on monitored metrics

Usage:
  kubeless autoscale create <name> FLAG [flags]

Flags:
  -h, --help               help for create
      --max int32          maximum number of replicas (default 1)
      --metric string      metric to use for calculating the autoscale. Supported
      metrics: cpu, qps (default "cpu")
      --min int32          minimum number of replicas (default 1)
  -n, --namespace string   Specify namespace for the autoscale
      --value string       value of the average of the metric across all replicas.
      If metric is cpu, value is a number represented as percentage. If metric
      is qps, value must be in format of Quantity

Reference: kubeless.io autoscaling

It would be great to specify that configuration in serverless yml configuration.

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

No branches or pull requests

1 participant