add --concurrent-ephemeralvolume-syncs flag for kube-controller-manager
Kubernetes-commit: 7fa0b9b6c104d076bc3fe617e2e26baec495ff84
This commit is contained in:
parent
74822732aa
commit
af9e28fe7d
|
|
@ -119,6 +119,9 @@ type KubeControllerManagerConfiguration struct {
|
||||||
// EndpointSliceMirroringControllerConfiguration holds configuration for
|
// EndpointSliceMirroringControllerConfiguration holds configuration for
|
||||||
// EndpointSliceMirroringController related features.
|
// EndpointSliceMirroringController related features.
|
||||||
EndpointSliceMirroringController EndpointSliceMirroringControllerConfiguration
|
EndpointSliceMirroringController EndpointSliceMirroringControllerConfiguration
|
||||||
|
// EphemeralVolumeControllerConfiguration holds configuration for EphemeralVolumeController
|
||||||
|
// related features.
|
||||||
|
EphemeralVolumeController EphemeralVolumeControllerConfiguration
|
||||||
// GarbageCollectorControllerConfiguration holds configuration for
|
// GarbageCollectorControllerConfiguration holds configuration for
|
||||||
// GarbageCollectorController related features.
|
// GarbageCollectorController related features.
|
||||||
GarbageCollectorController GarbageCollectorControllerConfiguration
|
GarbageCollectorController GarbageCollectorControllerConfiguration
|
||||||
|
|
@ -300,6 +303,14 @@ type EndpointSliceMirroringControllerConfiguration struct {
|
||||||
MirroringEndpointUpdatesBatchPeriod metav1.Duration
|
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.
|
// GarbageCollectorControllerConfiguration contains elements describing GarbageCollectorController.
|
||||||
type GarbageCollectorControllerConfiguration struct {
|
type GarbageCollectorControllerConfiguration struct {
|
||||||
// enables the generic garbage collector. MUST be synced with the
|
// enables the generic garbage collector. MUST be synced with the
|
||||||
|
|
|
||||||
|
|
@ -194,6 +194,22 @@ func (in *EndpointSliceMirroringControllerConfiguration) DeepCopy() *EndpointSli
|
||||||
return out
|
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.
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
func (in *GarbageCollectorControllerConfiguration) DeepCopyInto(out *GarbageCollectorControllerConfiguration) {
|
func (in *GarbageCollectorControllerConfiguration) DeepCopyInto(out *GarbageCollectorControllerConfiguration) {
|
||||||
*out = *in
|
*out = *in
|
||||||
|
|
@ -289,6 +305,7 @@ func (in *KubeControllerManagerConfiguration) DeepCopyInto(out *KubeControllerMa
|
||||||
out.EndpointController = in.EndpointController
|
out.EndpointController = in.EndpointController
|
||||||
out.EndpointSliceController = in.EndpointSliceController
|
out.EndpointSliceController = in.EndpointSliceController
|
||||||
out.EndpointSliceMirroringController = in.EndpointSliceMirroringController
|
out.EndpointSliceMirroringController = in.EndpointSliceMirroringController
|
||||||
|
out.EphemeralVolumeController = in.EphemeralVolumeController
|
||||||
in.GarbageCollectorController.DeepCopyInto(&out.GarbageCollectorController)
|
in.GarbageCollectorController.DeepCopyInto(&out.GarbageCollectorController)
|
||||||
out.HPAController = in.HPAController
|
out.HPAController = in.HPAController
|
||||||
out.JobController = in.JobController
|
out.JobController = in.JobController
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue