@@ -150,10 +150,34 @@ readinessProbe:
150
150
failureThreshold: 2
151
151
{ {- end -} }
152
152
153
- { {- define " openmatch.HorizontalPodAutoscaler.spec.common" -} }
154
- minReplicas: { { .Values.global.kubernetes.horizontalPodAutoScaler.minReplicas } }
155
- maxReplicas: { { .Values.global.kubernetes.horizontalPodAutoScaler.maxReplicas } }
156
- targetCPUUtilizationPercentage: { { .Values.global.kubernetes.horizontalPodAutoScaler.targetCPUUtilizationPercentage } }
153
+ { {- define " openmatch.HorizontalPodAutoscaler.frontend.spec.common" -} }
154
+ minReplicas: { { .Values.global.kubernetes.horizontalPodAutoScaler.frontend.minReplicas } }
155
+ maxReplicas: { { .Values.global.kubernetes.horizontalPodAutoScaler.frontend.maxReplicas } }
156
+ targetCPUUtilizationPercentage: { { .Values.global.kubernetes.horizontalPodAutoScaler.frontend.targetCPUUtilizationPercentage } }
157
+ { {- end -} }
158
+
159
+ { {- define " openmatch.HorizontalPodAutoscaler.backend.spec.common" -} }
160
+ minReplicas: { { .Values.global.kubernetes.horizontalPodAutoScaler.backend.minReplicas } }
161
+ maxReplicas: { { .Values.global.kubernetes.horizontalPodAutoScaler.backend.maxReplicas } }
162
+ targetCPUUtilizationPercentage: { { .Values.global.kubernetes.horizontalPodAutoScaler.backend.targetCPUUtilizationPercentage } }
163
+ { {- end -} }
164
+
165
+ { {- define " openmatch.HorizontalPodAutoscaler.query.spec.common" -} }
166
+ minReplicas: { { .Values.global.kubernetes.horizontalPodAutoScaler.query.minReplicas } }
167
+ maxReplicas: { { .Values.global.kubernetes.horizontalPodAutoScaler.query.maxReplicas } }
168
+ targetCPUUtilizationPercentage: { { .Values.global.kubernetes.horizontalPodAutoScaler.query.targetCPUUtilizationPercentage } }
169
+ { {- end -} }
170
+
171
+ { {- define " openmatch.HorizontalPodAutoscaler.evaluator.spec.common" -} }
172
+ minReplicas: { { .Values.global.kubernetes.horizontalPodAutoScaler.evaluator.minReplicas } }
173
+ maxReplicas: { { .Values.global.kubernetes.horizontalPodAutoScaler.evaluator.maxReplicas } }
174
+ targetCPUUtilizationPercentage: { { .Values.global.kubernetes.horizontalPodAutoScaler.evaluator.targetCPUUtilizationPercentage } }
175
+ { {- end -} }
176
+
177
+ { {- define " openmatch.HorizontalPodAutoscaler.matchfunction.spec.common" -} }
178
+ minReplicas: { { .Values.global.kubernetes.horizontalPodAutoScaler.matchfunction.minReplicas } }
179
+ maxReplicas: { { .Values.global.kubernetes.horizontalPodAutoScaler.matchfunction.maxReplicas } }
180
+ targetCPUUtilizationPercentage: { { .Values.global.kubernetes.horizontalPodAutoScaler.matchfunction.targetCPUUtilizationPercentage } }
157
181
{ {- end -} }
158
182
159
183
{ {- define " openmatch.serviceAccount.name" -} }
0 commit comments