Skip to content

Commit

Permalink
fix: correct annotation for transfer hpa ownership (kedacore#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
pragmaticivan authored Jun 26, 2023
1 parent 90a3992 commit ae794a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions content/docs/2.11/concepts/scaling-deployments.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions content/docs/2.12/concepts/scaling-deployments.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ae794a9

Please sign in to comment.