Commit 679c4b4 1 parent b0a1d8a commit 679c4b4 Copy full SHA for 679c4b4
File tree 3 files changed +16
-12
lines changed
3 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ charts-dir: squadcast-helm
5
5
sign : false
6
6
charts_repo_url : https://squadcasthub.github.io/helm-infra
7
7
index-path : .
8
- version : 0.2.4
8
+ version : 0.2.5
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ name: squadcast-helm
3
3
description : A Helm chart for Kubernetes
4
4
type : application
5
5
6
- version : 0.2.4
6
+ version : 0.2.5
7
7
8
8
appVersion : " 1.16.0"
Original file line number Diff line number Diff line change 1
1
{{- if .Values.autoscaling.enabled }}
2
- apiVersion : autoscaling/v2beta1
2
+ apiVersion : autoscaling/v2
3
3
kind : HorizontalPodAutoscaler
4
4
metadata :
5
- name : {{ include "squadcast-helm.fullname" . }}
6
- labels :
5
+ name : {{ include "squadcast-helm.fullname" . }}
6
+ labels :
7
7
{{- include "squadcast-helm.labels" . | nindent 4 }}
8
- namespace : {{ .Values.namespace }}
8
+ namespace : {{ .Values.namespace }}
9
9
10
10
spec :
11
- scaleTargetRef :
11
+ scaleTargetRef :
12
12
apiVersion : apps/v1
13
13
kind : Deployment
14
14
name : {{ include "squadcast-helm.fullname" . }}
15
- minReplicas : {{ .Values.autoscaling.minReplicas }}
16
- maxReplicas : {{ .Values.autoscaling.maxReplicas }}
17
- metrics :
15
+ minReplicas : {{ .Values.autoscaling.minReplicas }}
16
+ maxReplicas : {{ .Values.autoscaling.maxReplicas }}
17
+ metrics :
18
18
{{- if .Values.autoscaling.targetCPUUtilizationPercentage }}
19
19
- type : Resource
20
20
resource :
21
21
name : cpu
22
- targetAverageUtilization : {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
22
+ target :
23
+ type : Utilization
24
+ averageUtilization : {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
23
25
{{- end }}
24
26
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
25
27
- type : Resource
26
28
resource :
27
29
name : memory
28
- targetAverageUtilization : {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
30
+ target :
31
+ type : Utilization
32
+ averageUtilization : {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
29
33
{{- end }}
30
34
{{- end }}
You can’t perform that action at this time.
0 commit comments