Skip to content

Scale to zero with cron trigger #1759

Discussion options

You must be logged in to vote

I have the same problem. not scaling to zero with:

apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: cron-scaledobject
spec:
  scaleTargetRef:
    name: backoffice
  minReplicaCount: 1
  maxReplicaCount: 5
  triggers:
  - type: cron
    metadata:
      timezone: America/Argentina/Buenos_Aires
      start: 35 13 * * *
      end: 40 13 * * *
      desiredReplicas: "0"

I am trying to scale to zero between start and end.
But it doesn't

Replies: 8 comments 19 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@dorroddorrod
Comment options

@zroubalik
Comment options

@dorroddorrod
Comment options

@tomkerkhove
Comment options

@iarc13
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tomkerkhove
Comment options

Comment options

You must be logged in to vote
7 replies
@tomkerkhove
Comment options

@dorroddorrod
Comment options

@tomkerkhove
Comment options

@dorroddorrod
Comment options

@dorroddorrod
Comment options

Comment options

You must be logged in to vote
4 replies
@tomkerkhove
Comment options

@thuandt
Comment options

@tomkerkhove
Comment options

@gaganyaan2
Comment options

Answer selected by tomkerkhove
Comment options

You must be logged in to vote
1 reply
@flow0787
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
10 participants
Converted from issue

This discussion was converted from issue #1757 on April 28, 2021 05:52.