From 3ec1b5a587d448abc3520571a90507cb0006af25 Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Mon, 3 Dec 2018 12:49:03 -0800 Subject: [PATCH] Revert "Use 1 worker by default" (#432) This reverts commit f10596562dac6623650f7871758325b9f106c420. Makes our default worker count back to 10 now that concurrency is in good shape. --- root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root.go b/root.go index ee4ea88..22be92e 100644 --- a/root.go +++ b/root.go @@ -185,7 +185,7 @@ func init() { RootCmd.PersistentFlags().StringVar(&taintKey, "taint", "", "Set node taint key") RootCmd.PersistentFlags().MarkDeprecated("taint", "Taint key should now be configured using the VK_TAINT_KEY environment variable") RootCmd.PersistentFlags().StringVar(&logLevel, "log-level", "info", `set the log level, e.g. "trace", debug", "info", "warn", "error"`) - RootCmd.PersistentFlags().IntVar(&podSyncWorkers, "pod-sync-workers", 1, `set the number of pod synchronization workers`) + RootCmd.PersistentFlags().IntVar(&podSyncWorkers, "pod-sync-workers", 10, `set the number of pod synchronization workers`) RootCmd.PersistentFlags().StringSliceVar(&userTraceExporters, "trace-exporter", nil, fmt.Sprintf("sets the tracing exporter to use, available exporters: %s", AvailableTraceExporters())) RootCmd.PersistentFlags().StringVar(&userTraceConfig.ServiceName, "trace-service-name", "virtual-kubelet", "sets the name of the service used to register with the trace exporter")