apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
  name: product-hpa
  namespace: shoppingportal-hpa
spec:
  scaleTargetRef:
    apiVersion:  apps/v1beta2
    kind: Deployment
    name: productreview-deploy
  minReplicas: 1
  maxReplicas: 10
  targetCPUUtilizationPercentage: 10
