mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
kube-apiserver: keep the types of LeaseEndpointReconcilerType and NoneEndpointReconcilerType the same as MasterCountReconcilerType
This commit is contained in:
parent
5539a5b80f
commit
ecfae2bebe
@ -113,7 +113,7 @@ func NewServerRunOptions() *ServerRunOptions {
|
|||||||
EnableLogsHandler: true,
|
EnableLogsHandler: true,
|
||||||
EventTTL: 1 * time.Hour,
|
EventTTL: 1 * time.Hour,
|
||||||
MasterCount: 1,
|
MasterCount: 1,
|
||||||
EndpointReconcilerType: reconcilers.LeaseEndpointReconcilerType,
|
EndpointReconcilerType: string(reconcilers.LeaseEndpointReconcilerType),
|
||||||
IdentityLeaseDurationSeconds: 3600,
|
IdentityLeaseDurationSeconds: 3600,
|
||||||
IdentityLeaseRenewIntervalSeconds: 10,
|
IdentityLeaseRenewIntervalSeconds: 10,
|
||||||
KubeletConfig: kubeletclient.KubeletClientConfig{
|
KubeletConfig: kubeletclient.KubeletClientConfig{
|
||||||
|
@ -53,9 +53,9 @@ const (
|
|||||||
// MasterCountReconcilerType will select the original reconciler
|
// MasterCountReconcilerType will select the original reconciler
|
||||||
MasterCountReconcilerType Type = "master-count"
|
MasterCountReconcilerType Type = "master-count"
|
||||||
// LeaseEndpointReconcilerType will select a storage based reconciler
|
// LeaseEndpointReconcilerType will select a storage based reconciler
|
||||||
LeaseEndpointReconcilerType = "lease"
|
LeaseEndpointReconcilerType Type = "lease"
|
||||||
// NoneEndpointReconcilerType will turn off the endpoint reconciler
|
// NoneEndpointReconcilerType will turn off the endpoint reconciler
|
||||||
NoneEndpointReconcilerType = "none"
|
NoneEndpointReconcilerType Type = "none"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Types an array of reconciler types
|
// Types an array of reconciler types
|
||||||
|
Loading…
Reference in New Issue
Block a user