Skip to content

Commit

Permalink
Elaborate the doc of minReplica (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanposhiho committed May 24, 2024
1 parent 04b6df1 commit 62b872b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/horizontal.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ max{replica numbers at the same time} * MinReplicasRecommendationMultiplier

(refer to [admin-guide.md](./admin-guide.md) about each parameter)

#### Why does MinReplicas have to be changed like this?

Supposing your web frontend is down, your backend app Pods would be scaled in because it receives no traffic.
But, when your web frontend is back, the huge traffic that the backend app usually handles would come again,
and if the backend had been scaled in too much, it could be overwhelmed easily.

To prevent this kind of issue like domino, Tortoise sets MinReplicas like above so that it can keep the replica number to some extend, preventing too much scaling in.

### Target utilization

Target utilization is calculated by:
Expand Down

0 comments on commit 62b872b

Please sign in to comment.