Commit 9fe3d8f1 authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason
Browse files

fix: keep default value for targetCPUUtilizationPercentage

This is required for backwards compatibility. My bad for
suggesting we comment it out in the original MR.
parent a0daa00d
Loading
Loading
Loading
Loading
+12 −8
Original line number Diff line number Diff line
@@ -35,16 +35,20 @@ hpa:
  enabled: false
  minReplicas: 1
  maxReplicas: 5
  # Choose `targetCPUUtilizationPercentage` or `metrics` based on your use case
  # targetCPUUtilizationPercentage: 80
  # Only one of targetCPUUtilizationPercentage and metrics can be chosen.
  # This is because targetCPUUtilizationPercentage is from autoscaling/v1,
  # whereas metrics is from autoscaling/v2beta2. If both are provided, only
  # metrics will be used.
  # See https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/
  # for examples of each.
  targetCPUUtilizationPercentage: 80
  # metrics:
  # - type: Object
  #   object:
  # - type: Resource
  #   resource:
  #     name: cpu
  #     target:
  #       kind: Service
  #       name: production-auto-deploy
  #     metricName: nginx_ingress_controller_requests_per_second
  #     targetValue: 40
  #       type: Utilization
  #       averageUtilization: 80

gitlab:
  app: