Skip to content

Commit 89632ae

Browse files
committed
address comments
1 parent 0b16a92 commit 89632ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/en/docs/concepts/architecture/coordinated-leader-election.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ weight: 200
1212

1313
Kubernetes {{< skew currentVersion >}} includes an alpha feature that allows
1414
components to deterministically select a leader via Coordinated Leader Election.
15-
This is useful to satisfy Kubernetes version skew during cluster upgrades.
16-
Currently, the only supported selection strategy is `OldestEmulationVersion`,
15+
This is useful to satisfy Kubernetes version skew constraints during cluster upgrades.
16+
Currently, the only builtin selection strategy is `OldestEmulationVersion`,
1717
preferring the leader with the lowest emulation version, followed by binary
1818
version, followed by creation timestamp.
1919

@@ -25,16 +25,16 @@ when you start the {{< glossary_tooltip text="API Server"
2525
term_id="kube-apiserver" >}}: and that the `coordination.k8s.io/v1alpha1` API is
2626
enabled.
2727

28-
This can be done by setting `FEATURE_GATES="CoordinatedLeaderElection=true"` and
29-
`RUNTIME_CONFIG="coordination.k8s.io/v1alpha1=true"`.
28+
This can be done by setting flags `--feature-gates="CoordinatedLeaderElection=true"` and
29+
`--runtime-config="coordination.k8s.io/v1alpha1=true"`.
3030

3131
## Component Configuration
3232

3333
With Coordinated Leader Election, components need to both run a LeaseCandidate
3434
and Lease goroutine (both found in client-go/pkg/leaderelection). Two components
3535
(kube-controller-manager and kube-scheduler) will automatically use coordinated
3636
leader election if enabled. Please refer to the example found in
37-
`k8s.io/cmd/kube-scheduler/app/server.go` on set up.
37+
[k8s.io/kubernetes/cmd/kube-scheduler/app/server.go](https://github.com/kubernetes/kubernetes/blob/master/cmd/kube-scheduler/app/server.go) on set up.
3838

3939
The created LeaseCandidate object looks similar to below:
4040

@@ -53,4 +53,4 @@ spec:
5353
renewTime: "2024-07-30T03:45:18.325483Z"
5454
```
5555

56-
Please refer to the documentation for LeaseCandidate for the full API details.
56+
Please refer to the [documentation](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#leasecandidate-v1alpha1-coordination-k8s-io) for LeaseCandidate for the full API details.

0 commit comments

Comments
 (0)