Make number of workers configurable
Kubernetes-commit: cbdc9b671f33b0f0679e790cc462b25d1476a3af
This commit is contained in:
parent
0e426cdd38
commit
81cf84b366
|
|
@ -145,6 +145,9 @@ type KubeControllerManagerConfiguration struct {
|
|||
// ServiceControllerConfiguration holds configuration for ServiceController
|
||||
// related features.
|
||||
ServiceController ServiceControllerConfiguration
|
||||
// TTLAfterFinishedControllerConfiguration holds configuration for
|
||||
// TTLAfterFinishedController related features.
|
||||
TTLAfterFinishedController TTLAfterFinishedControllerConfiguration
|
||||
}
|
||||
|
||||
// GenericControllerManagerConfiguration holds configuration for a generic controller-manager.
|
||||
|
|
@ -438,3 +441,10 @@ type ServiceControllerConfiguration struct {
|
|||
// management, but more CPU (and network) load.
|
||||
ConcurrentServiceSyncs int32
|
||||
}
|
||||
|
||||
// TTLAfterFinishedControllerConfiguration contains elements describing TTLAfterFinishedController.
|
||||
type TTLAfterFinishedControllerConfiguration struct {
|
||||
// concurrentTTLSyncs is the number of TTL-after-finished collector workers that are
|
||||
// allowed to sync concurrently.
|
||||
ConcurrentTTLSyncs int32
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue