Skip to content

Commit

Permalink
Restore target to original replica count after deleting httpscaledobj…
Browse files Browse the repository at this point in the history
…ect resource. (#339)

Signed-off-by: laminar <fangtian@kubesphere.io>
Signed-off-by: laminar <fangtian@kubesphere.io>

Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
  • Loading branch information
tpiperatgod and arschles authored Dec 14, 2021
1 parent 201c7cb commit e20c455
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/k8s/templates/scaledobject.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ spec:
metadata:
scalerAddress: {{ .ScalerAddress }}
host: {{ .Host }}
advanced:
restoreToOriginalReplicaCount: true

0 comments on commit e20c455

Please sign in to comment.