Skip to content

Commit

Permalink
Fix annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Tara Gu committed Jul 29, 2020
1 parent 4c6e7b0 commit 4f525f2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/core/configmaps/autoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,25 +176,25 @@ data:
# initial-scale is the cluster-wide default value for the initial deployment
# replica size of a revision.
# This value cannot be set to 0 while allow-zero-initial-scale is false.
# If annotation "autoscaling.internal.knative.dev/initialScale" is not set,
# or "autoscaling.internal.knative.dev/initialScale" is set to 0 while
# If annotation "autoscaling.knative.dev/initialScale" is not set,
# or "autoscaling.knative.dev/initialScale" is set to 0 while
# allow-zero-initial-scale is false, the cluster wide initial-scale value will
# be used for the initial revision deployment size.
# If annotation "autoscaling.internal.knative.dev/initialScale" is set to > 0,
# If annotation "autoscaling.knative.dev/initialScale" is set to > 0,
# or 0 while allow-zero-initial-scale is true, the annotation value will be used
# for the initial revision deployment size.
initial-scale: "1"
# allow-zero-initial-scale is the cluster-wide flag to indicate whether
# initial-scale is allowed to be 0.
# If this is set to true, both the cluster-wide flag initial-scale and
# the annotation "autoscaling.internal.knative.dev/initialScale" are allowed
# the annotation "autoscaling.knative.dev/initialScale" are allowed
# to be set to 0.
# If this is set to false, the cluster-wide initial-scale value is not
# allowed to be set to 0. If user attemps to deploy a new revision with
# "autoscaling.internal.knative.dev/initialScale" annotation set to 0,
# "autoscaling.knative.dev/initialScale" annotation set to 0,
# the new revision will not be successfully created. If there's an existing
# revision with "autoscaling.internal.knative.dev/initialScale" annotation
# revision with "autoscaling.knative.dev/initialScale" annotation
# set to 0, while allow-zero-initial-scale is changed from true to false,
# the default value 1 will be used.
allow-zero-initial-scale: "false"

0 comments on commit 4f525f2

Please sign in to comment.