From e5ef93ad1a619aabe041d47cb88152ab5512d339 Mon Sep 17 00:00:00 2001 From: Kensei Nakada Date: Thu, 12 Oct 2023 10:18:09 +0900 Subject: [PATCH] add the doc for TortoiseHPATargetUtilizationMaxIncrease (#176) --- docs/configuration.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index 83ad428c..c2f90e46 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -19,6 +19,7 @@ MaximumCPUCores: The maximum CPU cores that the tor MaximumMemoryBytes: The maximum memory bytes that the tortoise can give to the container (default: 10Gi) Timezone: The timezone used to record time in tortoise objects (default: Asia/Tokyo) TortoiseUpdateInterval: The interval of updating each tortoise (default: 15s) +TortoiseHPATargetUtilizationMaxIncrease: The max increase of target utilization that tortoise can give to the HPA (default: 5) ``` ### RangeOfMinMaxReplicasRecommendationHours @@ -46,7 +47,7 @@ status: updatedAt: 2023-01-01T00:00:00Z ``` -## MinMaxReplicasRecommendationType +### MinMaxReplicasRecommendationType The routine of minReplicas and maxReplicas recommendation. The valid values are "daily" and "weekly" (default: weekly) @@ -230,3 +231,12 @@ The timezone which used to record time in tortoise objects (default: Asia/Tokyo) The interval of updating each tortoise (default: 15s) But, it may delay if there are many tortoise objects in the cluster. + +### TortoiseHPATargetUtilizationMaxIncrease + +The max increase of target utilization that tortoise can give to the HPA (default: 5) + +If tortoise suggests changing the HPA target resource utilization from 50 to 80, it might be dangerous to give the change at once. +By configuring this, we can limit the max increase that tortoise can make. +So, if TortoiseHPATargetUtilizationMaxIncrease is 5, even if tortoise suggests changing the HPA target resource utilization from 50 to 80, +the target utilization is actually change from 50 to 55. \ No newline at end of file