diff --git a/config/v1alpha1/types.go b/config/v1alpha1/types.go index 247f3fc..cff9204 100644 --- a/config/v1alpha1/types.go +++ b/config/v1alpha1/types.go @@ -119,6 +119,9 @@ type KubeControllerManagerConfiguration struct { // EndpointSliceMirroringControllerConfiguration holds configuration for // EndpointSliceMirroringController related features. EndpointSliceMirroringController EndpointSliceMirroringControllerConfiguration + // EphemeralVolumeControllerConfiguration holds configuration for EphemeralVolumeController + // related features. + EphemeralVolumeController EphemeralVolumeControllerConfiguration // GarbageCollectorControllerConfiguration holds configuration for // GarbageCollectorController related features. GarbageCollectorController GarbageCollectorControllerConfiguration @@ -300,6 +303,14 @@ type EndpointSliceMirroringControllerConfiguration struct { MirroringEndpointUpdatesBatchPeriod metav1.Duration } +// EphemeralVolumeControllerConfiguration contains elements describing EphemeralVolumeController. +type EphemeralVolumeControllerConfiguration struct { + // ConcurrentEphemeralVolumeSyncseSyncs is the number of ephemeral volume syncing operations + // that will be done concurrently. Larger number = faster ephemeral volume updating, + // but more CPU (and network) load. + ConcurrentEphemeralVolumeSyncs int32 +} + // GarbageCollectorControllerConfiguration contains elements describing GarbageCollectorController. type GarbageCollectorControllerConfiguration struct { // enables the generic garbage collector. MUST be synced with the diff --git a/config/v1alpha1/zz_generated.deepcopy.go b/config/v1alpha1/zz_generated.deepcopy.go index 50167a1..7db57d0 100644 --- a/config/v1alpha1/zz_generated.deepcopy.go +++ b/config/v1alpha1/zz_generated.deepcopy.go @@ -194,6 +194,22 @@ func (in *EndpointSliceMirroringControllerConfiguration) DeepCopy() *EndpointSli return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EphemeralVolumeControllerConfiguration) DeepCopyInto(out *EphemeralVolumeControllerConfiguration) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralVolumeControllerConfiguration. +func (in *EphemeralVolumeControllerConfiguration) DeepCopy() *EphemeralVolumeControllerConfiguration { + if in == nil { + return nil + } + out := new(EphemeralVolumeControllerConfiguration) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GarbageCollectorControllerConfiguration) DeepCopyInto(out *GarbageCollectorControllerConfiguration) { *out = *in @@ -289,6 +305,7 @@ func (in *KubeControllerManagerConfiguration) DeepCopyInto(out *KubeControllerMa out.EndpointController = in.EndpointController out.EndpointSliceController = in.EndpointSliceController out.EndpointSliceMirroringController = in.EndpointSliceMirroringController + out.EphemeralVolumeController = in.EphemeralVolumeController in.GarbageCollectorController.DeepCopyInto(&out.GarbageCollectorController) out.HPAController = in.HPAController out.JobController = in.JobController