apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
  labels:
    app: sidekiq
    chart: sidekiq-5.7.0
    heritage: Helm
    release: RELEASE-NAME
  name: RELEASE-NAME-sidekiq-all-in-1-v2
  namespace: default
spec:
  maxReplicas: 10
  metrics:
  - resource:
      name: cpu
      targetAverageValue: 350m
    type: Resource
  minReplicas: 1
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: RELEASE-NAME-sidekiq-all-in-1-v2
