slaventius 2 years ago
parent 893e2d392e
commit 9a5e402e47
  1. 19
      deploy/helm/templates/hpa.yaml

@ -9,12 +9,13 @@ spec:
name: {{ .Release.Name }}-hpa
minReplicas: 1
maxReplicas: 5
metrics:
- type: Resource
resource:
name: cpu
targetAverageUtilization: 80
- type: Resource
resource:
name: memory
targetAverageValue: 200Mi
targetCPUUtilizationPercentage: 20
# metrics:
# - type: Resource
# resource:
# name: cpu
# targetAverageUtilization: 80
# - type: Resource
# resource:
# name: memory
# targetAverageValue: 200Mi

Loading…
Cancel
Save