Skip to content

Commit 5d924a7

Browse files
committed
comment explaining where flagd limit default values have come from
Signed-off-by: Skye Gill <[email protected]>
1 parent 52f807b commit 5d924a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ func main() {
6767
flag.BoolVar(&enableLeaderElection, "leader-elect", false,
6868
"Enable leader election for controller manager. "+
6969
"Enabling this will ensure there is only one active controller manager.")
70+
71+
// the following default values are chosen as a result of load testing: https://github.com/open-feature/flagd/blob/main/tests/loadtest/README.MD#performance-observations
7072
flag.StringVar(&flagDCpuLimit, "flagd-cpu-limit", "0.5", "flagd CPU limit, in cores. (500m = .5 cores)")
7173
flag.StringVar(&flagDRamLimit, "flagd-ram-limit", "64M", "flagd memory limit, in bytes. (500Gi = 500GiB = 500 * 1024 * 1024 * 1024)")
7274
flag.StringVar(&flagDCpuRequest, "flagd-cpu-request", "0.2", "flagd CPU minimum, in cores. (500m = .5 cores)")

0 commit comments

Comments
 (0)