Skip to content

Commit 88de519

Browse files
committed
improve goals
1 parent f653f8e commit 88de519

File tree

1 file changed

+19
-4
lines changed
  • keps/sig-api-machinery/4355-coordinated-leader-election

1 file changed

+19
-4
lines changed

keps/sig-api-machinery/4355-coordinated-leader-election/README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,17 +200,32 @@ between old and new.
200200

201201
### Goals
202202

203-
- Offer an opt-in leader election mechanism to:
204-
- Elect the candidate with the oldest version available.
205-
- Provide a way to preempt the current leader.
206-
- Reuse the existing lease mechanism as much as possible.
203+
During HA upgrades/rollbacks/downgrades,
204+
205+
Leader elected components:
206+
207+
- Change versions at predictable times
208+
- Do not violate version skew, even during node-by-node rollbacks
209+
210+
The control plane:
211+
212+
- Can safely canary components and nodes at the new version for an extended
213+
period of time, or to pause an upgrade at any step durning an upgrade. This
214+
enhancement, combined with
215+
[UVIP](../4020-unknown-version-interoperability-proxy) helps achieve this.
216+
207217

208218
### Non-Goals
209219

210220
- Change the default leader election for components.
211221

212222
## Proposal
213223

224+
- Offer an opt-in leader election mechanism to:
225+
- Elect the candidate with the oldest version available.
226+
- Provide a way to preempt the current leader.
227+
- Reuse the existing lease mechanism as much as possible.
228+
214229
### Component Identity Leases
215230

216231
Components will create identity leases similar to those used by apiserver identity, e.g.:

0 commit comments

Comments
 (0)