apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
  name: gke-baseline-random-music
  namespace: sigint
  labels:
    app: gke-baseline-random-music
    role: gkebaselinerandommusic
spec:
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: gke-baseline-random-music
  minReplicas: 1
  maxReplicas: 10
  metrics:
    - type: Resource
      resource:
        name: memory
        target:
          type: AverageValue
          averageValue: 1G
