apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
  name: mongos-router
  namespace: default
spec:
  maxReplicas: 30
  minReplicas: 2
  scaleTargetRef:
    apiVersion: apps/v1
    kind: StatefulSet
    name: mongos-router
  targetCPUUtilizationPercentage: 60
