Package io.quarkus.kubernetes.deployment
Class AutoScalingConfig
- java.lang.Object
-
- io.quarkus.kubernetes.deployment.AutoScalingConfig
-
public class AutoScalingConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Optional<AutoScalerClass>autoScalerClassThe Autoscaler class.(package private) Optional<Integer>containerConcurrencyThe exact amount of requests allowed to the replica at a time.(package private) Optional<AutoScalingMetric>metricThe autoscaling metric to use.(package private) Optional<Integer>targetThe autoscaling target.(package private) Optional<Integer>targetUtilizationPercentageThis value specifies a percentage of the target to actually be targeted by the autoscaler.
-
Constructor Summary
Constructors Constructor Description AutoScalingConfig()
-
-
-
Field Detail
-
autoScalerClass
Optional<AutoScalerClass> autoScalerClass
The Autoscaler class. Knative Serving comes with its own autoscaler, the KPA (Knative Pod Autoscaler) but can also be configured to use Kubernetes’ HPA (Horizontal Pod Autoscaler) or even a custom third-party autoscaler. Possible values (kpa, hpa, default: kpa).
-
metric
Optional<AutoScalingMetric> metric
The autoscaling metric to use. Possible values (concurrency, rps, cpu).
-
containerConcurrency
Optional<Integer> containerConcurrency
The exact amount of requests allowed to the replica at a time. Its default value is “0”, which means an unlimited number of requests are allowed to flow into the replica.
-
-