Skip to content

Commit

Permalink
Make number of workers configurable
Browse files Browse the repository at this point in the history
Kubernetes-commit: cbdc9b671f33b0f0679e790cc462b25d1476a3af
  • Loading branch information
janetkuo authored and k8s-publishing-bot committed Aug 14, 2018
1 parent b072c8e commit 2c92bd6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
}

0 comments on commit 2c92bd6

Please sign in to comment.