diff --git a/config/v1alpha1/types.go b/config/v1alpha1/types.go index 56acbcd..db869f3 100644 --- a/config/v1alpha1/types.go +++ b/config/v1alpha1/types.go @@ -102,6 +102,9 @@ type KubeControllerManagerConfiguration struct { // DeploymentControllerConfiguration holds configuration for // DeploymentController related features. DeploymentController DeploymentControllerConfiguration + // StatefulSetControllerConfiguration holds configuration for + // StatefulSetController related features. + StatefulSetController StatefulSetControllerConfiguration // DeprecatedControllerConfiguration holds configuration for some deprecated // features. DeprecatedController DeprecatedControllerConfiguration @@ -260,6 +263,14 @@ type DeploymentControllerConfiguration struct { DeploymentControllerSyncPeriod metav1.Duration } +// StatefulSetControllerConfiguration contains elements describing StatefulSetController. +type StatefulSetControllerConfiguration struct { + // concurrentStatefulSetSyncs is the number of statefulset objects that are + // allowed to sync concurrently. Larger number = more responsive statefulsets, + // but more CPU (and network) load. + ConcurrentStatefulSetSyncs int32 +} + // DeprecatedControllerConfiguration contains elements be deprecated. type DeprecatedControllerConfiguration struct { // DEPRECATED: deletingPodsQps is the number of nodes per second on which pods are deleted in diff --git a/config/v1alpha1/zz_generated.deepcopy.go b/config/v1alpha1/zz_generated.deepcopy.go index 29e94e1..6c94758 100644 --- a/config/v1alpha1/zz_generated.deepcopy.go +++ b/config/v1alpha1/zz_generated.deepcopy.go @@ -286,6 +286,7 @@ func (in *KubeControllerManagerConfiguration) DeepCopyInto(out *KubeControllerMa out.CSRSigningController = in.CSRSigningController out.DaemonSetController = in.DaemonSetController out.DeploymentController = in.DeploymentController + out.StatefulSetController = in.StatefulSetController out.DeprecatedController = in.DeprecatedController out.EndpointController = in.EndpointController in.GarbageCollectorController.DeepCopyInto(&out.GarbageCollectorController) @@ -511,6 +512,22 @@ func (in *ServiceControllerConfiguration) DeepCopy() *ServiceControllerConfigura return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StatefulSetControllerConfiguration) DeepCopyInto(out *StatefulSetControllerConfiguration) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetControllerConfiguration. +func (in *StatefulSetControllerConfiguration) DeepCopy() *StatefulSetControllerConfiguration { + if in == nil { + return nil + } + out := new(StatefulSetControllerConfiguration) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TTLAfterFinishedControllerConfiguration) DeepCopyInto(out *TTLAfterFinishedControllerConfiguration) { *out = *in