kind: HTTPScaledObject
apiVersion: http.keda.sh/v1alpha1
metadata:
  name: {{ include "ailab-demo.fullname" . }}
spec:
  host: {{ include "ailab-demo.host" . }}
  targetPendingRequests: {{ .Values.targetPendingRequests }}
  scaleTargetRef:
    deployment: {{ include "ailab-demo.fullname" . }}
    service: {{ include "ailab-demo.fullname" . }}
    port: {{ .Values.service.port }}
  replicas:
    min: {{ .Values.autoscaling.http.minReplicas }}
    max: {{ .Values.autoscaling.http.maxReplicas }}