mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Merge pull request #113361 from SataQiu/fix-20221026
kube-apiserver: keep the types of LeaseEndpointReconcilerType and NoneEndpointReconcilerType the same as MasterCountReconcilerType
This commit is contained in:
commit
021e2d394c
@ -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{
|
||||
|
@ -53,9 +53,9 @@ const (
|
||||
// MasterCountReconcilerType will select the original reconciler
|
||||
MasterCountReconcilerType Type = "master-count"
|
||||
// LeaseEndpointReconcilerType will select a storage based reconciler
|
||||
LeaseEndpointReconcilerType = "lease"
|
||||
LeaseEndpointReconcilerType Type = "lease"
|
||||
// NoneEndpointReconcilerType will turn off the endpoint reconciler
|
||||
NoneEndpointReconcilerType = "none"
|
||||
NoneEndpointReconcilerType Type = "none"
|
||||
)
|
||||
|
||||
// Types an array of reconciler types
|
||||
|
Loading…
Reference in New Issue
Block a user