From 38c30cab84a29b703131441f87df220a8e10bc40 Mon Sep 17 00:00:00 2001 From: Lanting Chiang <49918461+lantingchiang@users.noreply.github.com> Date: Tue, 30 Jul 2024 11:56:28 -0400 Subject: [PATCH] remove metrics server leader election env vars (#1434) Signed-off-by: lanting.chiang --- content/docs/2.15/operate/cluster.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/content/docs/2.15/operate/cluster.md b/content/docs/2.15/operate/cluster.md index 4de7f51ed..6d0fd7b11 100644 --- a/content/docs/2.15/operate/cluster.md +++ b/content/docs/2.15/operate/cluster.md @@ -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) @@ -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