You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prior to this commit QPS, threads-per-controller and maximum burst were not configurable when launching the Tekton controller. This meant that Tekton deployments could not be tuned to the environments it was deployed in.
This commit makes DefaultThreadsPerController, QPS, and Burst configurable via flags. This helps tune a deployment depending on expected concurrency in production.
namespace=flag.String("namespace", corev1.NamespaceAll, "Namespace to restrict informer to. Optional, defaults to all namespaces.")
50
52
versionGiven=flag.String("version", "devel", "Version of Tekton running")
53
+
qps=flag.Int("kube-api-qps", int(rest.DefaultQPS), "Maximum QPS to the master from this client")
54
+
burst=flag.Int("kube-api-burst", rest.DefaultBurst, "Maximum burst for throttle")
55
+
threadsPerController=flag.Int("threads-per-controller", controller.DefaultThreadsPerController, "Threads (goroutines) to create per controller")
56
+
disableHighAvailability=flag.Bool("disable-ha", false, "Whether to disable high-availability functionality for this component. This flag will be deprecated "+
57
+
"and removed when we have promoted this feature to stable, so do not pass it without filing an "+
0 commit comments