From 36c46fd77226b8dbd56ef53c01c8877ed4f02619 Mon Sep 17 00:00:00 2001 From: William Van Hevelingen Date: Thu, 26 Jan 2023 20:50:52 -0800 Subject: [PATCH] docs: Add best practice for reducing memory usage Signed-off-by: William Van Hevelingen --- docs/best-practices.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/best-practices.md b/docs/best-practices.md index d9b5bd3a1a..ffbb4ff411 100644 --- a/docs/best-practices.md +++ b/docs/best-practices.md @@ -51,4 +51,13 @@ spec: ``` The above technique has the a benefit in that it would not incur additional cost of allocating -additional load balancers. \ No newline at end of file +additional load balancers. + +## Reducing operator memory usage + +On clusters with thousands of rollouts memory usage for the argo-rollouts +operator can be reduced significantly by changing RevisionHistoryLimit from the +default of 10 to a lower number. One user of Argo Rollouts saw a 27% reduction +in memory usage for a cluster with 1290 rollouts by changing +RevisionHistoryLimit from 10 to 0. +