We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
During testing when we apply same start and end time, the target scale up but doesn't scale down. Applied :
start: "31 * * * *" end: "31 * * * * "
Cron should either give a warning on applying SO or target should scale down after the scheduled time.
Target does not scale down at all until SO is removed or changed.
apiVersion: keda.sh/v1alpha1 kind: ScaledObject metadata: name: cron-scaledobject labels: deploymentName:dummy-deployment spec: maxReplicaCount: 4 pollingInterval: 3 cooldownPeriod: 5 scaleTargetRef: name: nginx-deployment triggers: - type: cron metadata: timezone: Asia/Kolkata # The acceptable values would be a value from the IANA Time Zone Database. start: "31 * * * *" end: "31 * * * * " desiredReplicas: "3"
kubectl get deployment
2021-08-12T12:59:22.358Z INFO controllers.ScaledObject Reconciling ScaledObject {"ScaledObject.Namespace": "default", "ScaledObject.Name": "cron-scaledobject"} 2021-08-12T12:59:22.485Z INFO controllers.ScaledObject Updated HPA according to ScaledObject {"ScaledObject.Namespace": "default", "ScaledObject.Name": "cron-scaledobject", "HPA.Namespace": "default", "HPA.Name": "keda-hpa-cron-scaledobject"} 2021-08-12T12:59:22.485Z INFO controllers.ScaledObject Initializing Scaling logic according to ScaledObject Specification {"ScaledObject.Namespace": "default", "ScaledObject.Name": "cron-scaledobject"} 2021-08-12T12:59:22.499Z INFO controllers.ScaledObject Reconciling ScaledObject {"ScaledObject.Namespace": "default", "ScaledObject.Name": "cron-scaledobject"} 2021-08-12T12:59:27.083Z INFO controllers.ScaledObject Reconciling ScaledObject {"ScaledObject.Namespace": "default", "ScaledObject.Name": "cron-scaledobject"}
No Error
2.4.0
1.21
Other
Cron
None
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Report
During testing when we apply same start and end time, the target scale up but doesn't scale down.
Applied :
Expected Behavior
Cron should either give a warning on applying SO or target should scale down after the scheduled time.
Actual Behavior
Target does not scale down at all until SO is removed or changed.
Steps to Reproduce the Problem
kubectl get deployment
Logs from KEDA operator
No Error
KEDA Version
2.4.0
Kubernetes Version
1.21
Platform
Other
Scaler Details
Cron
Anything else?
None
The text was updated successfully, but these errors were encountered: