Skip to content

Commit 8a3c424

Browse files
committed
Fix checkstyle warnings
1 parent 8fcf35a commit 8a3c424

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/cambio/simulator/entities/patterns/HorizontalPodAutoscalingPolicy.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@
99
/**
1010
* AN implementation based on Kubernetes
1111
* <a href="https://github.com/kubernetes/kubernetes/blob/8caeec429ee1d2a9df7b7a41b21c626346b456fb/docs/design/horizontal-pod-autoscaler.md#autoscaling-algorithm">Horizontal Pod Autoscaler</a>.
12+
*
1213
* <p>
1314
* By default, scale-up can only happen if there was no rescaling within the last 3 minutes. Scale-down will wait for 5
1415
* minutes from the last rescaling. Moreover, any scaling will only be made if: avg(CurrentPodsConsumption) / Target
1516
* drops below 0.9 or increases above 1.1 (10% tolerance)
17+
*
1618
* <p>
1719
* TODO Maybe also include via adapter, upscaling/downscaling behavior not 100% as in Kubernetes, e.g. see
1820
* <a href="https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/autoscaling/types.go#L113">HorizontalPodAutoscalerBehavior Implementation</a>

0 commit comments

Comments
 (0)