diff --git a/config/config-leader-election.yaml b/config/config-leader-election.yaml index cec52e4c923..2ada19bfb58 100644 --- a/config/config-leader-election.yaml +++ b/config/config-leader-election.yaml @@ -22,7 +22,6 @@ metadata: app.kubernetes.io/part-of: tekton-pipelines data: # An inactive but valid configuration follows; see example. - resourceLock: "leases" leaseDuration: "15s" renewDeadline: "10s" retryPeriod: "2s" diff --git a/docs/enabling-ha.md b/docs/enabling-ha.md index ad87431a22f..40fdf375be9 100644 --- a/docs/enabling-ha.md +++ b/docs/enabling-ha.md @@ -36,11 +36,13 @@ The leader election can be configured via the [config-leader-election.yaml](../. | Parameter | Default | | -------------------- | -------- | -| `data.resourceLock` | "leases" | +| `data.buckets` | 1 | | `data.leaseDuration` | 15s | | `data.renewDeadline` | 10s | | `data.retryPeriod` | 2s | +_Note_: When setting `data.buckets`, the underlying Knative library only allows a value between 1 and 10, making 10 the maximum number of allowed buckets. + ## Disabling leader election ---