Skip to content

Commit 798517a

Browse files
authored
Merge pull request #68 from ndustrialio/mgagliardo91-patch-1
Fix HPA
2 parents ee59795 + 37853f4 commit 798517a

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

ndustrial/deployment/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ maintainers:
1313
1414
name: DevOps
1515
# Please make sure that version and appVersion are always the same.
16-
version: 0.1.62
17-
appVersion: 0.1.62
16+
version: 0.1.63
17+
appVersion: 0.1.63

ndustrial/deployment/templates/hpa.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,17 @@ spec:
2323
- type: Resource
2424
resource:
2525
name: cpu
26-
targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
26+
target:
27+
type: Utilization
28+
averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
2729
{{- end }}
2830
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
2931
- type: Resource
3032
resource:
3133
name: memory
32-
targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
34+
target:
35+
type: Utilization
36+
averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
3337
{{- end }}
3438
{{- if .Values.autoscaling.externalMetric.metricName }}
3539
- type: External

ndustrial/nio-api/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ maintainers:
1313
1414
name: DevOps
1515
# Please make sure that version and appVersion are always the same.
16-
version: 1.0.9
17-
appVersion: 1.0.9
16+
version: 1.0.10
17+
appVersion: 1.0.10

0 commit comments

Comments
 (0)