From ae794a91fb0cdbd6a810782f4c5f0c6c1148d1a6 Mon Sep 17 00:00:00 2001 From: Ivan Santos <301291+pragmaticivan@users.noreply.github.com> Date: Mon, 26 Jun 2023 00:49:20 -0500 Subject: [PATCH] fix: correct annotation for transfer hpa ownership (#1171) --- content/docs/2.11/concepts/scaling-deployments.md | 4 ++-- content/docs/2.12/concepts/scaling-deployments.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/docs/2.11/concepts/scaling-deployments.md b/content/docs/2.11/concepts/scaling-deployments.md index 69705950b..71c99f6e5 100644 --- a/content/docs/2.11/concepts/scaling-deployments.md +++ b/content/docs/2.11/concepts/scaling-deployments.md @@ -39,7 +39,7 @@ kind: ScaledObject metadata: name: {scaled-object-name} annotations: - autoscaling.keda.sh/transfer-hpa-ownership: "true" # Optional. Use to transfer an existing HPA ownership to this ScaledObject + scaledobject.keda.sh/transfer-hpa-ownership: "true" # Optional. Use to transfer an existing HPA ownership to this ScaledObject autoscaling.keda.sh/paused-replicas: "0" # Optional. Use to pause autoscaling of objects spec: scaleTargetRef: @@ -277,7 +277,7 @@ If your environment already operates using kubernetes HPA, you can transfer the ```yaml metadata: annotations: - autoscaling.keda.sh/transfer-hpa-ownership: "true" + scaledobject.keda.sh/transfer-hpa-ownership: "true" spec: advanced: horizontalPodAutoscalerConfig: diff --git a/content/docs/2.12/concepts/scaling-deployments.md b/content/docs/2.12/concepts/scaling-deployments.md index 69705950b..71c99f6e5 100644 --- a/content/docs/2.12/concepts/scaling-deployments.md +++ b/content/docs/2.12/concepts/scaling-deployments.md @@ -39,7 +39,7 @@ kind: ScaledObject metadata: name: {scaled-object-name} annotations: - autoscaling.keda.sh/transfer-hpa-ownership: "true" # Optional. Use to transfer an existing HPA ownership to this ScaledObject + scaledobject.keda.sh/transfer-hpa-ownership: "true" # Optional. Use to transfer an existing HPA ownership to this ScaledObject autoscaling.keda.sh/paused-replicas: "0" # Optional. Use to pause autoscaling of objects spec: scaleTargetRef: @@ -277,7 +277,7 @@ If your environment already operates using kubernetes HPA, you can transfer the ```yaml metadata: annotations: - autoscaling.keda.sh/transfer-hpa-ownership: "true" + scaledobject.keda.sh/transfer-hpa-ownership: "true" spec: advanced: horizontalPodAutoscalerConfig: