apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
  name: extranetui-hpa
spec:
  maxReplicas: 5
  minReplicas: 1
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: extranetui
  targetCPUUtilizationPercentage: 50
