apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
  name: budy-hpa

spec:
  minReplicas: 1
  maxReplicas: 5

  metrics:
  - resource:
      name: cpu
      targetAverageUtilization: 30
    type: Resource

  scaleTargetRef:
    apiVersion: apps/v1
    kind: ReplicaSet
    name: busy-replicaset
