-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Keda-Operator : ScaledObject doesn't have correct scaleTargetRef specification although my specifications are correct #4975
Comments
I move this issue to KEDA repo because it's not related with the helm chart |
Could you share KEDA operator logs? It looks like the deployment doesn't exist, but I think that we will see a more clear message in KEDA operator logs |
@JorTurFer I have missed to add the name: selenium-node-chrome which is mentioned under scaletargetref spec in my chrome deployment labels, this is working now |
Hello can u help me i was facing the same issue the issue was as follows Type Reason Age From Message Warning ScaledObjectCheckFailed 47m (x9 over 47m) keda-operator Target resource doesn't exist but my hpa was as follows apiVersion: keda.sh/v1alpha1
i was the file name as hpa.yml and the deploying in the dev namespace and keda operator in the keda namespace can any help me with this |
A clear and concise description of what the bug is.
In a Kubernetes cluster I have created deployment each for Selenium-Hub and Chrome , and the respective services are also created and currently my tests are running on this setup. I wanted to auto-scale the pods depending on the session que requests and I used Keda - Selenium-Grid for that , but unfortunately Im running into an issue which says ScaledObject doesn't have correct scaleTargetRef specification , all the objects such as scaled objects , pods are on the same namespace
Expected Behavior
Scaled Object should create without Issue
Actual Behavior
Shows ScaledObject doesn't have correct scaleTargetRef specification by Keda-Operator
My .yaml files are as below
apiVersion: keda.sh/v1alpha1 kind: ScaledObject metadata: name: selenium-scaledobject namespace: default labels: deploymentName: selenium-chrome-node spec: scaleTargetRef: name: selenium-chrome-node minReplicaCount: 0 maxReplicaCount: 80 pollingInterval: 50 triggers: - type: selenium-grid metadata: url: 'http://selenium-hub-service:80/graphql' browserName: 'chrome'
PS - the url in the metadata section is the url of the hub service that I have created in my cluster and its respective port
Steps to Reproduce the Problem
1.Make 2 deployments in a Kubernetes cluster for Hub and the Node
2.Create the respective services to be access locally (Port Forwarding)
3.Setup the ScaledObject as described above pointing to the Chrome Node Deployment
Specifications
The text was updated successfully, but these errors were encountered: