You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Coordinated Leader Election, components need to both run a LeaseCandidate
34
34
and Lease goroutine (both found in client-go/pkg/leaderelection). Two components
35
35
(kube-controller-manager and kube-scheduler) will automatically use coordinated
36
36
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.
38
38
39
39
The created LeaseCandidate object looks similar to below:
40
40
@@ -53,4 +53,4 @@ spec:
53
53
renewTime: "2024-07-30T03:45:18.325483Z"
54
54
```
55
55
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