Is KEDA support statefulset scaling?

3/3/2020

I'm trying to scale my Statefulset object horizontally using KEDA with K8S.

I put in the 'deploymentName' key the value of my Statfulset name but the scaling is not taking into action.

Is KEDA suuport it?

apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
  name: test
  namespace: {{ .Release.Namespace }}
  labels:
    deploymentName: test-statefulset
spec:
  scaleTargetRef:
    deploymentName: test-statefulset #my statefulset name
  pollingInterval: 30
  cooldownPeriod:  300
  minReplicaCount: 0
  maxReplicaCount: 6
  triggers:
    - type: rabbitmq
      metadata:
        host: rabbitmq_host
        queueName: "test.queue"
        queueLength: "5"
-- Udi
hpa
keda
kubernetes

1 Answer

3/3/2020

No it's not supported yet. Check the discussion here.

-- Arghya Sadhu
Source: StackOverflow