apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
  name: mem-autoscaler
spec:
  maxReplicas: 10
  minReplicas: 2
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: mem-autoscale-deployment
  targetCPUUtilizationPercentage: 40
