apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
  namespace: jitsi
  name: jvb-hpa
spec:
  minReplicas: 2
  maxReplicas: 6
  scaleTargetRef:
    kind: StatefulSet
    name: jvb
  metrics:
    - type: Pods
      pods:
        metric:
          name: container_network_transmit_bytes_per_second
        target:
          type: AverageValue
          averageValue: 100000
