Skip to content

Scaling jobs with KEDA - Having trouble with aadpodidbinding #1130

Discussion options

You must be logged in to vote

Update: I think I found the issues. Two things:

  1. We need to add metadata with aadpodidbinding at two places. One at scaledobject and another at job spec.
  2. Remove selector clause from job.

Here is my new YAML:

---
# Example followed: https://github.com/ross-p-smith/Mercury/blob/2eb97992007b104581cf1381eed11d93eb950bd8/charts/kedaV1/templates/test-scaledobject.yaml
# https://keda.sh/docs/1.4/concepts/scaling-jobs/
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
namespace: default # must be same namespace as the Triggerauth
metadata:
  name: autofab-autoscale-scaledobject
  labels:
    app: autofab-autoscale-scaledobject
    aadpodidbinding: azureresourceaccess
spec:
  scaleType: job
  j…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@sai25590
Comment options

@sai25590
Comment options

@tomkerkhove
Comment options

@sai25590
Comment options

@tomkerkhove
Comment options

Answer selected by sai25590
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants