Skip to content

Commit

Permalink
Added ScaledObject parameter StartReplicaCount to scale from 0 to N
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Di Marzio <[email protected]>
  • Loading branch information
ldimarzi committed Feb 7, 2024
1 parent 78bd200 commit 758f39d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions content/docs/2.13/concepts/scaling-deployments.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ spec:
kind: {kind-of-target-resource} # Optional. Default: Deployment
name: {name-of-target-resource} # Mandatory. Must be in the same namespace as the ScaledObject
envSourceContainerName: {container-name} # Optional. Default: .spec.template.spec.containers[0]
pollingInterval: 30 # Optional. Default: 30 seconds
cooldownPeriod: 300 # Optional. Default: 300 seconds
idleReplicaCount: 0 # Optional. Default: ignored, must be less than minReplicaCount
minReplicaCount: 1 # Optional. Default: 0
maxReplicaCount: 100 # Optional. Default: 100
pollingInterval: 30 # Optional. Default: 30 seconds
cooldownPeriod: 300 # Optional. Default: 300 seconds
idleReplicaCount: 0 # Optional. Default: ignored, must be less than minReplicaCount
minReplicaCount: 1 # Optional. Default: 0
maxReplicaCount: 100 # Optional. Default: 100
startReplicaCount: 5 # Optional. Default: 0
fallback: # Optional. Section to specify fallback options
failureThreshold: 3 # Mandatory if fallback section is included
replicas: 6 # Mandatory if fallback section is included
Expand Down

0 comments on commit 758f39d

Please sign in to comment.