
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
  name: userservice
spec:
  maxReplicas: 30
  minReplicas: 5
  targetCPUUtilizationPercentage: 50
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: userservice
