Skip to content

Commit

Permalink
remove metrics server leader election env vars (#1434)
Browse files Browse the repository at this point in the history
Signed-off-by: lanting.chiang <[email protected]>
  • Loading branch information
lantingchiang authored Jul 30, 2024
1 parent c20ff05 commit 38c30ca
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions content/docs/2.15/operate/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ To modify this properties you can set environment variables on both KEDA Operato

## Configure Leader Election

Like reconciliation, KEDA also uses the [controller-runtime project](https://github.com/kubernetes-sigs/controller-runtime) for electing the leader replica. The following properties can be configured for either the Operator and Metrics Server Deployment:
Like reconciliation, KEDA Operator also uses the [controller-runtime project](https://github.com/kubernetes-sigs/controller-runtime) for electing the leader replica. The following properties can be configured for the Operator Deployment:

- [`LeaseDuration`](https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/manager#Options.LeaseDuration)
- [`RenewDeadline`](https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/manager#Options.RenewDeadline)
Expand All @@ -171,9 +171,6 @@ To specify values other than their defaults, you can set the following environme
| KEDA_OPERATOR_LEADER_ELECTION_LEASE_DURATION | Operator | 15s | LeaseDuration |
| KEDA_OPERATOR_LEADER_ELECTION_RENEW_DEADLINE | Operator | 10s | RenewDeadline |
| KEDA_OPERATOR_LEADER_ELECTION_RETRY_PERIOD | Operator | 2s | RetryPeriod |
| KEDA_METRICS_LEADER_ELECTION_LEASE_DURATION | Metrics Server | 15s | LeaseDuration |
| KEDA_METRICS_LEADER_ELECTION_RENEW_DEADLINE | Metrics Server | 10s | RenewDeadline |
| KEDA_METRICS_LEADER_ELECTION_RETRY_PERIOD | Metrics Server | 2s | RetryPeriod |

## Restrict the Namespaces KEDA is Watching

Expand Down

0 comments on commit 38c30ca

Please sign in to comment.