mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
Remove gate for leasecandidate strategy
This commit is contained in:
parent
2ca9e2d28f
commit
9e27ae2725
@ -138,8 +138,6 @@ type LeaseCandidateSpec struct {
|
|||||||
// If multiple candidates for the same Lease return different strategies, the strategy provided
|
// If multiple candidates for the same Lease return different strategies, the strategy provided
|
||||||
// by the candidate with the latest BinaryVersion will be used. If there is still conflict,
|
// by the candidate with the latest BinaryVersion will be used. If there is still conflict,
|
||||||
// this is a user error and coordinated leader election will not operate the Lease until resolved.
|
// this is a user error and coordinated leader election will not operate the Lease until resolved.
|
||||||
// (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.
|
|
||||||
// +featureGate=CoordinatedLeaderElection
|
|
||||||
// +listType=atomic
|
// +listType=atomic
|
||||||
// +required
|
// +required
|
||||||
Strategy CoordinatedLeaseStrategy
|
Strategy CoordinatedLeaseStrategy
|
||||||
|
@ -73,8 +73,6 @@ type LeaseCandidateSpec struct {
|
|||||||
// If multiple candidates for the same Lease return different strategies, the strategy provided
|
// If multiple candidates for the same Lease return different strategies, the strategy provided
|
||||||
// by the candidate with the latest BinaryVersion will be used. If there is still conflict,
|
// by the candidate with the latest BinaryVersion will be used. If there is still conflict,
|
||||||
// this is a user error and coordinated leader election will not operate the Lease until resolved.
|
// this is a user error and coordinated leader election will not operate the Lease until resolved.
|
||||||
// (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.
|
|
||||||
// +featureGate=CoordinatedLeaderElection
|
|
||||||
// +required
|
// +required
|
||||||
Strategy v1.CoordinatedLeaseStrategy `json:"strategy,omitempty" protobuf:"bytes,6,opt,name=strategy"`
|
Strategy v1.CoordinatedLeaseStrategy `json:"strategy,omitempty" protobuf:"bytes,6,opt,name=strategy"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user