We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16cd1f6 commit c535355Copy full SHA for c535355
charts/artifacts/templates/autoscaler.yaml
@@ -1,4 +1,4 @@
1
-apiVersion: autoscaling/v1
+apiVersion: autoscaling/v2
2
kind: HorizontalPodAutoscaler
3
metadata:
4
name: {{ template "fullname" $ }}
charts/artifacts/values.yaml
@@ -86,7 +86,19 @@ deployment:
86
## of criterias to meet to scale up and down.
87
##
88
autoscalerSpec:
89
- targetCPUUtilizationPercentage: 90
+ metrics:
90
+ - type: Resource
91
+ resource:
92
+ name: cpu
93
+ target:
94
+ type: Utilization
95
+ averageUtilization: 50
96
97
98
+ name: memory
99
100
+ type: AverageValue
101
+ averageValue: 500Mi
102
103
artifacts:
104
## Configure resource requests and limits
0 commit comments