apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
  labels:
    app: webservice
    chart: webservice-5.7.0
    gitlab.com/webservice-name: default
    heritage: Helm
    release: RELEASE-NAME
  name: RELEASE-NAME-webservice-default
  namespace: default
spec:
  maxReplicas: 10
  metrics:
  - resource:
      name: cpu
      targetAverageValue: 1
    type: Resource
  minReplicas: 2
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: RELEASE-NAME-webservice-default
