File tree Expand file tree Collapse file tree 6 files changed +24
-12
lines changed
Expand file tree Collapse file tree 6 files changed +24
-12
lines changed Original file line number Diff line number Diff line change 11{{- if .Values.autoscaling.enabled }}
2- apiVersion : autoscaling/v2beta1
2+ apiVersion : autoscaling/v2
33kind : HorizontalPodAutoscaler
44metadata :
55 name : {{ include "apollo-rhworker.fullname" . }}
@@ -17,12 +17,16 @@ spec:
1717 - type : Resource
1818 resource :
1919 name : cpu
20- targetAverageUtilization : {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
20+ target :
21+ type : Utilization
22+ averageUtilization : {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
2123 {{- end }}
2224 {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
2325 - type : Resource
2426 resource :
2527 name : memory
26- targetAverageUtilization : {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
28+ target :
29+ type : Utilization
30+ averageUtilization : {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
2731 {{- end }}
2832{{- end }}
Original file line number Diff line number Diff line change 88 repository : ghcr.io/resf/apollo-rhworker
99 pullPolicy : IfNotPresent
1010 # Overrides the image tag whose default is the chart appVersion.
11- tag : " 7c43d9b "
11+ tag : " 1463c15 "
1212
1313imagePullSecrets : []
1414nameOverride : " "
Original file line number Diff line number Diff line change 11{{- if .Values.autoscaling.enabled }}
2- apiVersion : autoscaling/v2beta1
2+ apiVersion : autoscaling/v2
33kind : HorizontalPodAutoscaler
44metadata :
55 name : {{ include "apollo-rpmworker.fullname" . }}
@@ -17,12 +17,16 @@ spec:
1717 - type : Resource
1818 resource :
1919 name : cpu
20- targetAverageUtilization : {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
20+ target :
21+ type : Utilization
22+ averageUtilization : {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
2123 {{- end }}
2224 {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
2325 - type : Resource
2426 resource :
2527 name : memory
26- targetAverageUtilization : {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
28+ target :
29+ type : Utilization
30+ averageUtilization : {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
2731 {{- end }}
2832{{- end }}
Original file line number Diff line number Diff line change 88 repository : ghcr.io/resf/apollo-rpmworker
99 pullPolicy : IfNotPresent
1010 # Overrides the image tag whose default is the chart appVersion.
11- tag : " d157846 "
11+ tag : " 1463c15 "
1212
1313imagePullSecrets : []
1414nameOverride : " "
Original file line number Diff line number Diff line change 11{{- if .Values.autoscaling.enabled }}
2- apiVersion : autoscaling/v2beta1
2+ apiVersion : autoscaling/v2
33kind : HorizontalPodAutoscaler
44metadata :
55 name : {{ include "apollo-server.fullname" . }}
@@ -17,12 +17,16 @@ spec:
1717 - type : Resource
1818 resource :
1919 name : cpu
20- targetAverageUtilization : {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
20+ target :
21+ type : Utilization
22+ averageUtilization : {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
2123 {{- end }}
2224 {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
2325 - type : Resource
2426 resource :
2527 name : memory
26- targetAverageUtilization : {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
28+ target :
29+ type : Utilization
30+ averageUtilization : {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
2731 {{- end }}
2832{{- end }}
Original file line number Diff line number Diff line change 88 repository : ghcr.io/resf/apollo-server
99 pullPolicy : IfNotPresent
1010 # Overrides the image tag whose default is the chart appVersion.
11- tag : " bb5159c "
11+ tag : " da4845e "
1212
1313imagePullSecrets : []
1414nameOverride : " "
You can’t perform that action at this time.
0 commit comments