Skip to content

Commit

Permalink
BC-6503 do not scale the preview-generator to 0 (#4746)
Browse files Browse the repository at this point in the history
  • Loading branch information
Loki-Afro authored and bergatco committed Feb 8, 2024
1 parent 2194761 commit 830c53d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ metadata:
spec:
scaleTargetRef:
name: preview-generator-deployment
idleReplicaCount: {{ AMQP_FILE_PREVIEW_IDLE_REPLICA_COUNT|default("0", true) }}
# add idleReplicaCount: 0 if you want to scale to 0
minReplicaCount: {{ AMQP_FILE_PREVIEW_MIN_REPLICA_COUNT|default("1", true) }}
maxReplicaCount: {{ AMQP_FILE_PREVIEW_MAX_REPLICA_COUNT|default("5", true) }}
triggers:
Expand Down

0 comments on commit 830c53d

Please sign in to comment.