From 78bd200ac48b0829462fa691a4d404b15a8b830c Mon Sep 17 00:00:00 2001 From: Jayapriya Pai Date: Wed, 7 Feb 2024 04:56:42 +0530 Subject: [PATCH 1/7] fix: correct the containerName in scalers/cpu.md (#1306) Signed-off-by: Jayapriya Pai --- content/docs/2.10/scalers/cpu.md | 2 +- content/docs/2.11/scalers/cpu.md | 2 +- content/docs/2.12/scalers/cpu.md | 2 +- content/docs/2.13/scalers/cpu.md | 2 +- content/docs/2.14/scalers/cpu.md | 2 +- content/docs/2.8/scalers/cpu.md | 2 +- content/docs/2.9/scalers/cpu.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/content/docs/2.10/scalers/cpu.md b/content/docs/2.10/scalers/cpu.md index e5c541550..85fcfeee7 100644 --- a/content/docs/2.10/scalers/cpu.md +++ b/content/docs/2.10/scalers/cpu.md @@ -92,5 +92,5 @@ spec: metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue' metadata: value: "50" - containerName: "api" + containerName: "foo" ``` diff --git a/content/docs/2.11/scalers/cpu.md b/content/docs/2.11/scalers/cpu.md index 0df9aa426..cf39480c2 100644 --- a/content/docs/2.11/scalers/cpu.md +++ b/content/docs/2.11/scalers/cpu.md @@ -92,5 +92,5 @@ spec: metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue' metadata: value: "50" - containerName: "api" + containerName: "foo" ``` diff --git a/content/docs/2.12/scalers/cpu.md b/content/docs/2.12/scalers/cpu.md index 0df9aa426..cf39480c2 100644 --- a/content/docs/2.12/scalers/cpu.md +++ b/content/docs/2.12/scalers/cpu.md @@ -92,5 +92,5 @@ spec: metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue' metadata: value: "50" - containerName: "api" + containerName: "foo" ``` diff --git a/content/docs/2.13/scalers/cpu.md b/content/docs/2.13/scalers/cpu.md index 6925331b1..5051a22ab 100644 --- a/content/docs/2.13/scalers/cpu.md +++ b/content/docs/2.13/scalers/cpu.md @@ -92,5 +92,5 @@ spec: metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue' metadata: value: "50" - containerName: "api" + containerName: "foo" ``` diff --git a/content/docs/2.14/scalers/cpu.md b/content/docs/2.14/scalers/cpu.md index 6925331b1..5051a22ab 100644 --- a/content/docs/2.14/scalers/cpu.md +++ b/content/docs/2.14/scalers/cpu.md @@ -92,5 +92,5 @@ spec: metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue' metadata: value: "50" - containerName: "api" + containerName: "foo" ``` diff --git a/content/docs/2.8/scalers/cpu.md b/content/docs/2.8/scalers/cpu.md index e5c541550..85fcfeee7 100644 --- a/content/docs/2.8/scalers/cpu.md +++ b/content/docs/2.8/scalers/cpu.md @@ -92,5 +92,5 @@ spec: metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue' metadata: value: "50" - containerName: "api" + containerName: "foo" ``` diff --git a/content/docs/2.9/scalers/cpu.md b/content/docs/2.9/scalers/cpu.md index e5c541550..85fcfeee7 100644 --- a/content/docs/2.9/scalers/cpu.md +++ b/content/docs/2.9/scalers/cpu.md @@ -92,5 +92,5 @@ spec: metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue' metadata: value: "50" - containerName: "api" + containerName: "foo" ``` From 39d6fcdf850c1dc9df27b76c5a790f3eb046a876 Mon Sep 17 00:00:00 2001 From: Jorge Turrado Ferrero Date: Thu, 8 Feb 2024 13:34:50 +0100 Subject: [PATCH 2/7] chore: Use more clear example for ScaleJob docs (#1309) --- content/docs/2.0/concepts/scaling-jobs.md | 8 ++++---- content/docs/2.1/concepts/scaling-jobs.md | 8 ++++---- content/docs/2.10/concepts/scaling-jobs.md | 8 ++++---- content/docs/2.11/concepts/scaling-jobs.md | 8 ++++---- content/docs/2.12/concepts/scaling-jobs.md | 8 ++++---- content/docs/2.13/concepts/scaling-jobs.md | 8 ++++---- content/docs/2.14/concepts/scaling-jobs.md | 8 ++++---- content/docs/2.2/concepts/scaling-jobs.md | 8 ++++---- content/docs/2.3/concepts/scaling-jobs.md | 8 ++++---- content/docs/2.4/concepts/scaling-jobs.md | 8 ++++---- content/docs/2.5/concepts/scaling-jobs.md | 8 ++++---- content/docs/2.6/concepts/scaling-jobs.md | 8 ++++---- content/docs/2.7/concepts/scaling-jobs.md | 8 ++++---- content/docs/2.8/concepts/scaling-jobs.md | 8 ++++---- content/docs/2.9/concepts/scaling-jobs.md | 8 ++++---- 15 files changed, 60 insertions(+), 60 deletions(-) diff --git a/content/docs/2.0/concepts/scaling-jobs.md b/content/docs/2.0/concepts/scaling-jobs.md index 5f02e51ee..1b4675dd6 100644 --- a/content/docs/2.0/concepts/scaling-jobs.md +++ b/content/docs/2.0/concepts/scaling-jobs.md @@ -199,13 +199,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds diff --git a/content/docs/2.1/concepts/scaling-jobs.md b/content/docs/2.1/concepts/scaling-jobs.md index 32273cb9b..db39eb636 100644 --- a/content/docs/2.1/concepts/scaling-jobs.md +++ b/content/docs/2.1/concepts/scaling-jobs.md @@ -199,13 +199,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds diff --git a/content/docs/2.10/concepts/scaling-jobs.md b/content/docs/2.10/concepts/scaling-jobs.md index 74bf8fe24..61ac69503 100644 --- a/content/docs/2.10/concepts/scaling-jobs.md +++ b/content/docs/2.10/concepts/scaling-jobs.md @@ -258,13 +258,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds diff --git a/content/docs/2.11/concepts/scaling-jobs.md b/content/docs/2.11/concepts/scaling-jobs.md index 927ed1ae7..b6c61839c 100644 --- a/content/docs/2.11/concepts/scaling-jobs.md +++ b/content/docs/2.11/concepts/scaling-jobs.md @@ -276,13 +276,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds diff --git a/content/docs/2.12/concepts/scaling-jobs.md b/content/docs/2.12/concepts/scaling-jobs.md index 1a8cc09a9..9f3ba04ae 100644 --- a/content/docs/2.12/concepts/scaling-jobs.md +++ b/content/docs/2.12/concepts/scaling-jobs.md @@ -276,13 +276,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds diff --git a/content/docs/2.13/concepts/scaling-jobs.md b/content/docs/2.13/concepts/scaling-jobs.md index 3d6138b33..9a5c58595 100644 --- a/content/docs/2.13/concepts/scaling-jobs.md +++ b/content/docs/2.13/concepts/scaling-jobs.md @@ -279,13 +279,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds diff --git a/content/docs/2.14/concepts/scaling-jobs.md b/content/docs/2.14/concepts/scaling-jobs.md index 3d6138b33..9a5c58595 100644 --- a/content/docs/2.14/concepts/scaling-jobs.md +++ b/content/docs/2.14/concepts/scaling-jobs.md @@ -279,13 +279,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds diff --git a/content/docs/2.2/concepts/scaling-jobs.md b/content/docs/2.2/concepts/scaling-jobs.md index 2838e3b68..3a11703fd 100644 --- a/content/docs/2.2/concepts/scaling-jobs.md +++ b/content/docs/2.2/concepts/scaling-jobs.md @@ -199,13 +199,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds diff --git a/content/docs/2.3/concepts/scaling-jobs.md b/content/docs/2.3/concepts/scaling-jobs.md index 2838e3b68..3a11703fd 100644 --- a/content/docs/2.3/concepts/scaling-jobs.md +++ b/content/docs/2.3/concepts/scaling-jobs.md @@ -199,13 +199,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds diff --git a/content/docs/2.4/concepts/scaling-jobs.md b/content/docs/2.4/concepts/scaling-jobs.md index c4297e6fb..28c5e9c1b 100644 --- a/content/docs/2.4/concepts/scaling-jobs.md +++ b/content/docs/2.4/concepts/scaling-jobs.md @@ -213,13 +213,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds diff --git a/content/docs/2.5/concepts/scaling-jobs.md b/content/docs/2.5/concepts/scaling-jobs.md index f1ec6308b..051c29b4e 100644 --- a/content/docs/2.5/concepts/scaling-jobs.md +++ b/content/docs/2.5/concepts/scaling-jobs.md @@ -241,13 +241,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds diff --git a/content/docs/2.6/concepts/scaling-jobs.md b/content/docs/2.6/concepts/scaling-jobs.md index f1ec6308b..051c29b4e 100644 --- a/content/docs/2.6/concepts/scaling-jobs.md +++ b/content/docs/2.6/concepts/scaling-jobs.md @@ -241,13 +241,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds diff --git a/content/docs/2.7/concepts/scaling-jobs.md b/content/docs/2.7/concepts/scaling-jobs.md index f1ec6308b..051c29b4e 100644 --- a/content/docs/2.7/concepts/scaling-jobs.md +++ b/content/docs/2.7/concepts/scaling-jobs.md @@ -241,13 +241,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds diff --git a/content/docs/2.8/concepts/scaling-jobs.md b/content/docs/2.8/concepts/scaling-jobs.md index 06e5b5038..1458aa8aa 100644 --- a/content/docs/2.8/concepts/scaling-jobs.md +++ b/content/docs/2.8/concepts/scaling-jobs.md @@ -258,13 +258,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds diff --git a/content/docs/2.9/concepts/scaling-jobs.md b/content/docs/2.9/concepts/scaling-jobs.md index 06e5b5038..1458aa8aa 100644 --- a/content/docs/2.9/concepts/scaling-jobs.md +++ b/content/docs/2.9/concepts/scaling-jobs.md @@ -258,13 +258,13 @@ spec: template: spec: containers: - - name: rabbitmq-client - image: tsuyoshiushio/rabbitmq-client:dev3 + - name: demo-rabbitmq-client + image: demo-rabbitmq-client:1 imagePullPolicy: Always - command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672", "job"] + command: ["receive", "amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672"] envFrom: - secretRef: - name: rabbitmq-consumer + name: rabbitmq-consumer-secrets restartPolicy: Never backoffLimit: 4 pollingInterval: 10 # Optional. Default: 30 seconds From a82e9fe23c38cb5503a8b261f1f9e9eb41c74119 Mon Sep 17 00:00:00 2001 From: Uchechukwu Obasi Date: Fri, 9 Feb 2024 16:00:40 +0100 Subject: [PATCH 3/7] Feat: Copy to Clipboard for FAQ (#1303) Co-authored-by: Tom Kerkhove --- assets/sass/style.sass | 42 ++++++++++++++++ layouts/partials/javascript.html | 85 ++++++++++++++++++++++++++++++++ layouts/shortcodes/faq20.html | 21 +++++--- 3 files changed, 141 insertions(+), 7 deletions(-) diff --git a/assets/sass/style.sass b/assets/sass/style.sass index fcd15127b..f71c9286c 100644 --- a/assets/sass/style.sass +++ b/assets/sass/style.sass @@ -264,6 +264,48 @@ hr .section padding: 4rem 1.5rem +.copyBtn + padding: 10px + background: none + height: 50% + margin-right: 10px + margin-top: 5px + color: #ffffff + font-size: 18px + border: none + outline: none + border-radius: 10px + cursor: pointer + &:focus + outline: 2px solid #5784f5 + &:hover + outline: 2px solid #5784f5 + &:active + background: #809ce2 + &:before + content: "Copied" + position: absolute + top: -45px + right: 0px + background: #5c81dc + padding: 8px 10px + border-radius: 20px + font-size: 15px + display: none + &:after + content: "" + position: absolute + top: -20px + right: 25px + width: 10px + height: 10px + background: #5c81dc + transform: rotate(45deg) + display: none + +.copy-text-active .copyBtn:before, .copy-text-active .copyBtn:after, + display: block + @media screen and (max-width: 1024px) .section width: 100vw diff --git a/layouts/partials/javascript.html b/layouts/partials/javascript.html index b69031521..c27fc4071 100644 --- a/layouts/partials/javascript.html +++ b/layouts/partials/javascript.html @@ -329,3 +329,88 @@ false ); + +{{/* FAQ Copy to clipboard */}} + + + +{{/* This logic expands collapsed section when URL is loaded in browser*/}} + \ No newline at end of file diff --git a/layouts/shortcodes/faq20.html b/layouts/shortcodes/faq20.html index 139fb2f4c..373b0e1cf 100644 --- a/layouts/shortcodes/faq20.html +++ b/layouts/shortcodes/faq20.html @@ -11,8 +11,9 @@

General

{{ $question }}

+ -
+
{{ $answer }}
@@ -31,8 +32,9 @@

Best Practices

{{ $question }}

+ -
+
{{ $answer }}
@@ -51,8 +53,9 @@

Features

{{ $question }}

+ -
+
{{ $answer }}
@@ -71,8 +74,9 @@

Kubernetes

{{ $question }}

+ -
+
{{ $answer }}
@@ -91,8 +95,9 @@

Community

{{ $question }}

+ -
+
{{ $answer }}
@@ -111,8 +116,9 @@

Website

{{ $question }}

+ -
+
{{ $answer }}
@@ -133,8 +139,9 @@

Microsoft Azure

{{ $question }}

+ -
+
{{ $answer }}
From 8f7e33e26bed6d672763685ee3fc76957b817028 Mon Sep 17 00:00:00 2001 From: aliaqel-stripe <120822631+aliaqel-stripe@users.noreply.github.com> Date: Mon, 12 Feb 2024 14:00:23 -0800 Subject: [PATCH 4/7] Fix comment (#1302) Signed-off-by: Ali Aqel --- content/docs/2.14/operate/cluster.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/content/docs/2.14/operate/cluster.md b/content/docs/2.14/operate/cluster.md index 7c955796e..e249f0a6b 100644 --- a/content/docs/2.14/operate/cluster.md +++ b/content/docs/2.14/operate/cluster.md @@ -83,7 +83,7 @@ All applicable scalers will use this timeout. Setting a per-scaler timeout is cu ## HTTP connection disable keep alive -Keep alive behaviour is enabled by default for every HTTP connection, this could stack a huge amount of connections (one per scaler) in some scenarios. +Keep alive behaviour is enabled by default for every HTTP connection, this could stack a huge amount of connections (one per scaler) in some scenarios. You can disable keep alive for every HTTP connection by adding the relevant environment variable to both the KEDA Operator, and KEDA Metrics Server deployments: @@ -129,6 +129,15 @@ The Kubernetes client config used within KEDA Operator and KEDA Metrics Adapter | kube-api-burst | cfg.Burst | 30 | Set the burst for throttling requests sent to the apiserver | | disable-compression | cfg.DisableCompression | true | Disable compression for response in k8s restAPI in client-go, see [this Kubernetes issue](https://github.com/kubernetes/kubernetes/issues/112296) for details | +## gRPC Metrics Service Parameters + +The gRPC Metrics Service is part of the KEDA Operator deployment and serves scaling events and metrics from the scalers over gRPC to the Metrics API Service, that in turn serves them to the Kubernetes API Server. The gRPC Metrics Service config used by the KEDA Metrics Adapter to connect to the KEDA Operator can be adjusted by passing the following command-line flags to the Adapter binary: + +| Adapter Flag | Default Value | Description | +| ----------------------------------- | ------------------------------------------------- | ---------------------------------------------- | +| metrics-service-address | keda-operator.keda.svc.cluster.local:9666 | The address of the gRPC Metrics Service Server | +| metrics-service-grpc-authority | "" | Host Authority override for the Metrics Service if the Host Authority is not the same as the address used for the gRPC Metrics Service Server. This is required for mutual TLS when the identity of the adapter server as presented in its TLS certificate is not the same as the metrics-service-address | + ## Configure `MaxConcurrentReconciles` for Controllers To implement internal controllers KEDA uses the [controller-runtime project](https://github.com/kubernetes-sigs/controller-runtime), that enables configuration of [MaxConcurrentReconciles property](https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/controller#Options), ie. the maximum number of concurrent reconciles which can be run for a controller. From 2562d917220d532293e159608fdd5f2096157c92 Mon Sep 17 00:00:00 2001 From: Adarsh Verma <113962919+Adarsh-verma-14@users.noreply.github.com> Date: Wed, 14 Feb 2024 20:51:17 +0530 Subject: [PATCH 5/7] update memory.md file (#1317) Signed-off-by: Adarsh-verma-14 --- content/docs/2.10/scalers/memory.md | 2 +- content/docs/2.11/scalers/memory.md | 2 +- content/docs/2.12/scalers/memory.md | 2 +- content/docs/2.13/scalers/memory.md | 2 +- content/docs/2.14/scalers/memory.md | 2 +- content/docs/2.8/scalers/memory.md | 2 +- content/docs/2.9/scalers/memory.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/content/docs/2.10/scalers/memory.md b/content/docs/2.10/scalers/memory.md index 2dd300f81..0fd9e11c8 100644 --- a/content/docs/2.10/scalers/memory.md +++ b/content/docs/2.10/scalers/memory.md @@ -92,5 +92,5 @@ spec: metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue' metadata: value: "50" - containerName: "api" + containerName: "foo" ``` diff --git a/content/docs/2.11/scalers/memory.md b/content/docs/2.11/scalers/memory.md index 59cd1dad1..25254d8aa 100644 --- a/content/docs/2.11/scalers/memory.md +++ b/content/docs/2.11/scalers/memory.md @@ -92,5 +92,5 @@ spec: metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue' metadata: value: "50" - containerName: "api" + containerName: "foo" ``` diff --git a/content/docs/2.12/scalers/memory.md b/content/docs/2.12/scalers/memory.md index 59cd1dad1..25254d8aa 100644 --- a/content/docs/2.12/scalers/memory.md +++ b/content/docs/2.12/scalers/memory.md @@ -92,5 +92,5 @@ spec: metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue' metadata: value: "50" - containerName: "api" + containerName: "foo" ``` diff --git a/content/docs/2.13/scalers/memory.md b/content/docs/2.13/scalers/memory.md index e9f5e73af..ec55f56e2 100644 --- a/content/docs/2.13/scalers/memory.md +++ b/content/docs/2.13/scalers/memory.md @@ -92,5 +92,5 @@ spec: metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue' metadata: value: "50" - containerName: "api" + containerName: "foo" ``` diff --git a/content/docs/2.14/scalers/memory.md b/content/docs/2.14/scalers/memory.md index e9f5e73af..ec55f56e2 100644 --- a/content/docs/2.14/scalers/memory.md +++ b/content/docs/2.14/scalers/memory.md @@ -92,5 +92,5 @@ spec: metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue' metadata: value: "50" - containerName: "api" + containerName: "foo" ``` diff --git a/content/docs/2.8/scalers/memory.md b/content/docs/2.8/scalers/memory.md index 2dd300f81..0fd9e11c8 100644 --- a/content/docs/2.8/scalers/memory.md +++ b/content/docs/2.8/scalers/memory.md @@ -92,5 +92,5 @@ spec: metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue' metadata: value: "50" - containerName: "api" + containerName: "foo" ``` diff --git a/content/docs/2.9/scalers/memory.md b/content/docs/2.9/scalers/memory.md index 2dd300f81..0fd9e11c8 100644 --- a/content/docs/2.9/scalers/memory.md +++ b/content/docs/2.9/scalers/memory.md @@ -92,5 +92,5 @@ spec: metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue' metadata: value: "50" - containerName: "api" + containerName: "foo" ``` From c561075f6d0d27007c5672989e0da18d97a6e4f4 Mon Sep 17 00:00:00 2001 From: Uchechukwu Obasi Date: Fri, 16 Feb 2024 14:35:01 +0100 Subject: [PATCH 6/7] chore: Fix scalers not shown on landing page (#1319) --- layouts/partials/javascript.html | 2 +- layouts/shortcodes/faq20.html | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/layouts/partials/javascript.html b/layouts/partials/javascript.html index c27fc4071..37105da88 100644 --- a/layouts/partials/javascript.html +++ b/layouts/partials/javascript.html @@ -403,7 +403,7 @@ () => { "use strict"; const hash = (window.location.hash).slice(1); - const cardContents = document.querySelectorAll(".card-content"); + const cardContents = document.querySelectorAll(".card-content-dropdown"); cardContents.forEach((item) => { const id = item.getAttribute("id"); if (hash === id) { diff --git a/layouts/shortcodes/faq20.html b/layouts/shortcodes/faq20.html index 373b0e1cf..75c294338 100644 --- a/layouts/shortcodes/faq20.html +++ b/layouts/shortcodes/faq20.html @@ -13,7 +13,7 @@

General

-
+
{{ $answer }}
@@ -34,7 +34,7 @@

Best Practices

-
+
{{ $answer }}
@@ -55,7 +55,7 @@

Features

-
+
{{ $answer }}
@@ -76,7 +76,7 @@

Kubernetes

-
+
{{ $answer }}
@@ -97,7 +97,7 @@

Community

-
+
{{ $answer }}
@@ -118,7 +118,7 @@

Website

-
+
{{ $answer }}
@@ -141,7 +141,7 @@

Microsoft Azure

-
+
{{ $answer }}
From d5d67b13ff9eb84e0c16f70136d8a980ec3f2987 Mon Sep 17 00:00:00 2001 From: Uchechukwu Obasi Date: Sun, 25 Feb 2024 19:50:58 +0100 Subject: [PATCH 7/7] Feat: copy to clipboard for troubleshooting page (#1321) --- layouts/shortcodes/troubleshooting.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/shortcodes/troubleshooting.html b/layouts/shortcodes/troubleshooting.html index fe78c3be6..8eea652a0 100644 --- a/layouts/shortcodes/troubleshooting.html +++ b/layouts/shortcodes/troubleshooting.html @@ -9,8 +9,9 @@

{{ $problem }}

+ -
+
{{ $solution }}