File Coverage

blib/lib/IO/K8s/Api/Autoscaling/V2/HPAScalingRules.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package IO::K8s::Api::Autoscaling::V2::HPAScalingRules;
2             # ABSTRACT: HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
3             our $VERSION = '1.008';
4 2     2   2707 use IO::K8s::Resource;
  2         7  
  2         21  
5              
6             k8s policies => ['Autoscaling::V2::HPAScalingPolicy'];
7              
8              
9             k8s selectPolicy => Str;
10              
11              
12             k8s stabilizationWindowSeconds => Int;
13              
14              
15             1;
16              
17             __END__