Merge pull request #105222 from cyclinder/remove_node_lease_GA
remove nodeLease feature GA Kubernetes-commit: 519b164db1320d2243c807c60ffc2e499318f283
This commit is contained in:
commit
4b1e922032
|
|
@ -383,14 +383,13 @@ type KubeletConfiguration struct {
|
|||
// Default: "5m"
|
||||
// +optional
|
||||
NodeStatusReportFrequency metav1.Duration `json:"nodeStatusReportFrequency,omitempty"`
|
||||
// nodeLeaseDurationSeconds is the duration the Kubelet will set on its corresponding Lease,
|
||||
// when the NodeLease feature is enabled. This feature provides an indicator of node
|
||||
// health by having the Kubelet create and periodically renew a lease, named after the node,
|
||||
// in the kube-node-lease namespace. If the lease expires, the node can be considered unhealthy.
|
||||
// The lease is currently renewed every 10s, per KEP-0009. In the future, the lease renewal interval
|
||||
// may be set based on the lease duration.
|
||||
// nodeLeaseDurationSeconds is the duration the Kubelet will set on its corresponding Lease.
|
||||
// NodeLease provides an indicator of node health by having the Kubelet create and
|
||||
// periodically renew a lease, named after the node, in the kube-node-lease namespace.
|
||||
// If the lease expires, the node can be considered unhealthy.
|
||||
// The lease is currently renewed every 10s, per KEP-0009. In the future, the lease renewal
|
||||
// interval may be set based on the lease duration.
|
||||
// The field value must be greater than 0.
|
||||
// Requires the NodeLease feature gate to be enabled.
|
||||
// If DynamicKubeletConfig (deprecated; default off) is on, when
|
||||
// dynamically updating this field, consider that
|
||||
// decreasing the duration may reduce tolerance for issues that temporarily prevent
|
||||
|
|
@ -399,11 +398,9 @@ type KubeletConfiguration struct {
|
|||
// +optional
|
||||
NodeLeaseDurationSeconds int32 `json:"nodeLeaseDurationSeconds,omitempty"`
|
||||
// imageMinimumGCAge is the minimum age for an unused image before it is
|
||||
// garbage collected.
|
||||
// If DynamicKubeletConfig (deprecated; default off) is on, when
|
||||
// dynamically updating this field, consider that
|
||||
// it may trigger or delay garbage collection, and may change the image overhead
|
||||
// on the node.
|
||||
// garbage collected. If DynamicKubeletConfig (deprecated; default off)
|
||||
// is on, when dynamically updating this field, consider that it may trigger or
|
||||
// delay garbage collection, and may change the image overhead on the node.
|
||||
// Default: "2m"
|
||||
// +optional
|
||||
ImageMinimumGCAge metav1.Duration `json:"imageMinimumGCAge,omitempty"`
|
||||
|
|
|
|||
6
go.mod
6
go.mod
|
|
@ -10,12 +10,12 @@ require (
|
|||
google.golang.org/grpc v1.38.0
|
||||
k8s.io/api v0.0.0-20211001003357-dd4141958dfc
|
||||
k8s.io/apimachinery v0.0.0-20211001003147-df63df3af3fc
|
||||
k8s.io/component-base v0.0.0-20211001004235-05eaa93d6d25
|
||||
k8s.io/component-base v0.0.0-20211004123803-799bb6e531c3
|
||||
)
|
||||
|
||||
replace (
|
||||
k8s.io/api => k8s.io/api v0.0.0-20211001003357-dd4141958dfc
|
||||
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20211001003147-df63df3af3fc
|
||||
k8s.io/client-go => k8s.io/client-go v0.0.0-20211001003700-dbfa30b9d908
|
||||
k8s.io/component-base => k8s.io/component-base v0.0.0-20211001004235-05eaa93d6d25
|
||||
k8s.io/client-go => k8s.io/client-go v0.0.0-20211005003654-1cbb8e6f5515
|
||||
k8s.io/component-base => k8s.io/component-base v0.0.0-20211004123803-799bb6e531c3
|
||||
)
|
||||
|
|
|
|||
6
go.sum
6
go.sum
|
|
@ -771,9 +771,9 @@ k8s.io/api v0.0.0-20211001003357-dd4141958dfc h1:mEvk8nUryhzsFO3gvz1GOCHKAk9SwmC
|
|||
k8s.io/api v0.0.0-20211001003357-dd4141958dfc/go.mod h1:X/EFj3T8/b6pT7Vu0CQfs8hKQGD/NpK6nituBPxPypM=
|
||||
k8s.io/apimachinery v0.0.0-20211001003147-df63df3af3fc h1:xWJbWTw1QtGvoHnsdF1oI10d2gEBl2yqipw/m1DQjLU=
|
||||
k8s.io/apimachinery v0.0.0-20211001003147-df63df3af3fc/go.mod h1:RAdi3McqM+9tkYHOyceb4XOeJWm9BCAF4BhZki5iiok=
|
||||
k8s.io/client-go v0.0.0-20211001003700-dbfa30b9d908/go.mod h1:D3oqLmrdamgyGGdeFnlQ2viGosUBar48jDD5c89k3TA=
|
||||
k8s.io/component-base v0.0.0-20211001004235-05eaa93d6d25 h1:4rKPbaIXyH8ttIz3aM4VdiZ7W3iRhw7Vc+AgR6cMV3w=
|
||||
k8s.io/component-base v0.0.0-20211001004235-05eaa93d6d25/go.mod h1:hJUQ9S5ONjPiJMk3dsctlNEu+CS+jEyu9W5wVEMAF4g=
|
||||
k8s.io/client-go v0.0.0-20211005003654-1cbb8e6f5515/go.mod h1:D3oqLmrdamgyGGdeFnlQ2viGosUBar48jDD5c89k3TA=
|
||||
k8s.io/component-base v0.0.0-20211004123803-799bb6e531c3 h1:fFiiTCFhhnvzK2Ijlkvu0lILqg9tedrIBAH1kMKjBAY=
|
||||
k8s.io/component-base v0.0.0-20211004123803-799bb6e531c3/go.mod h1:k8WbcY75pTS2zc0mVGbSkWIvjrqL51iRgENi98nxCog=
|
||||
k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
|
||||
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
|
||||
k8s.io/klog/v2 v2.20.0 h1:tlyxlSvd63k7axjhuchckaRJm+a92z5GSOrTOQY5sHw=
|
||||
|
|
|
|||
Loading…
Reference in New Issue