Skip to content
New issue

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

Need MinReplicaCount in ScaleObject Templates #1899

Closed
petkovp opened this issue Jul 18, 2023 · 4 comments
Closed

Need MinReplicaCount in ScaleObject Templates #1899

petkovp opened this issue Jul 18, 2023 · 4 comments

Comments

@petkovp
Copy link

petkovp commented Jul 18, 2023

What happened?

When template scaleObject is turn on the pods restarted permanently.

Every 20 seconds pod restarted, because KEDA scaleDown the pod to 0.

The KEDA scaling use activation phase. More info here: https://keda.sh/docs/2.11/concepts/scaling-deployments/#activating-and-scaling-thresholds

We need from scaling phase and we need from value MinReplicaCount in ScaleObject Templates

Command used to start Selenium Grid with Docker

We need from additional value or specification in ScaleObject Templates: minReplicaCount

apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
-----------------
spec:
  minReplicaCount: {{ .Values.chromeNode.replicas }}
  maxReplicaCount: {{ .Values.chromeNode.maxReplicaCount }}

Relevant log output

Log message from k8s cluster ScaleObject

ScaleObject down replicas from 1 to 0

Operating System

macOS

Docker Selenium version (tag)

4.10.

@github-actions
Copy link

@petkovp, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@nVizzz
Copy link

nVizzz commented Aug 9, 2023

I have the same situation too. I also need the possibility to define MinReplicaCount in ScaledObject.

@diemol
Copy link
Member

diemol commented Sep 12, 2023

#1932

@diemol diemol closed this as completed Sep 12, 2023
Copy link

github-actions bot commented Dec 9, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants