apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
  name: ugate
  namespace: ugate
  labels:
    release: ugate
spec:
  maxReplicas: 1
  minReplicas: 1
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: ugate
  metrics:
    - type: Resource
      resource:
        name: cpu
        targetAverageUtilization: 80
