Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 766 Bytes

keda-scaling.md

File metadata and controls

25 lines (21 loc) · 766 Bytes

KEDA Scaler Configuration

For event-driven autoscaling, Perper Fabric implements the KEDA external scaler protocol.

Example usage:

apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: scaledobject-name # Name of the ScaledObject resource itself
  namespace: scaledobject-namespace
spec:
  scaleTargetRef:
    name: deployment-name # Name of the Deployment/etc. to scale
  triggers:
    - type: external
      metadata:
        scalerAddress: perper-fabric.svc.local:40400
        agent: ScaledAgent # Name of the agent that the Deployment represents
        targetExecutions: "10" # Target executions per instance
        # OR: targetInstances: "10"