---
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
  name: peregrine-hpa
  labels:
    app: peregrine
spec:
  scaleTargetRef:
    apiVersion: apps/v1beta1
    kind: Deployment
    name: peregrine-deployment
  minReplicas: 2
  maxReplicas: 10
  targetCPUUtilizationPercentage: 60
