kube-apiserver: keep the types of LeaseEndpointReconcilerType and NoneEndpointReconcilerType the same as MasterCountReconcilerType

This commit is contained in:
SataQiu
2022-10-26 21:49:31 +08:00
parent 5539a5b80f
commit ecfae2bebe
2 changed files with 3 additions and 3 deletions

View File

@@ -113,7 +113,7 @@ func NewServerRunOptions() *ServerRunOptions {
EnableLogsHandler: true,
EventTTL: 1 * time.Hour,
MasterCount: 1,
EndpointReconcilerType: reconcilers.LeaseEndpointReconcilerType,
EndpointReconcilerType: string(reconcilers.LeaseEndpointReconcilerType),
IdentityLeaseDurationSeconds: 3600,
IdentityLeaseRenewIntervalSeconds: 10,
KubeletConfig: kubeletclient.KubeletClientConfig{