class Scalingo::Endpoint::Autoscalers
Public Instance Methods
create(params)
click to toggle source
-
container_type: can be any container type of an application (e.g. web, clock…)
-
min_containers: lower limit of containers
-
max_containers: upper limit of containers
-
metric: e.g. RPM per container, RAM consumption. The list of available metrics is here.
-
target: the autoscaler will keep the metric value as close to the target as possible by scaling the application
developers.scalingo.com/autoscalers
# File lib/scalingo/endpoint/autoscalers.rb, line 10 def create(params) post(nil, autoscaler: params) end