apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
  name: user-microservice
  namespace: dwetter-develop
spec:
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: user-microservice
  minReplicas: 2
  maxReplicas: 10
  targetCPUUtilizationPercentage: 75