Skip to content

Commit d8fbe0f

Browse files
authored
Expose --max-concurrent-reconciles flag (#23)
Signed-off-by: Tamal Saha <[email protected]>
1 parent 41e9df0 commit d8fbe0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cmds/server/operator.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ func (s *OperatorOptions) AddGoFlags(fs *flag.FlagSet) {
9090
fs.IntVar(&s.Burst, "burst", s.Burst, "The maximum burst for throttle")
9191

9292
fs.DurationVar(&s.ResyncPeriod, "resync-period", s.ResyncPeriod, "If non-zero, will re-list this often. Otherwise, re-list will be delayed aslong as possible (until the upstream source closes the watch or times out.")
93+
fs.IntVar(&s.NumThreads, "max-concurrent-reconciles", s.NumThreads, "The maximum number of concurrent reconciles which can be run")
9394

9495
fs.StringVar(&s.MetricsAddr, "metrics-bind-address", s.MetricsAddr, "The address the metrics endpoint binds to. "+
9596
"Use :8443 for HTTPS or :8080 for HTTP, or leave as 0 to disable the metrics service.")

0 commit comments

Comments
 (0)