File tree 8 files changed +31
-30
lines changed
8 files changed +31
-30
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
description : .NET Core Helm Chart
3
3
name : dotnet
4
- version : 13.0.0
4
+ version : 13.0.1
5
5
dependencies :
6
6
- name : libchart
7
- version : 4.0.0
7
+ version : 4.0.1
8
8
repository : file://../libchart
Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
description : golan Helm Chart
3
3
name : golang
4
- version : 17.0.0
4
+ version : 17.0.1
5
5
dependencies :
6
6
- name : libchart
7
- version : 4.0.0
7
+ version : 4.0.1
8
8
repository : file://../libchart
Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
description : Java Helm Chart
3
3
name : java
4
- version : 10.0.0
4
+ version : 10.0.1
5
5
dependencies :
6
6
- name : libchart
7
- version : 4.0.0
7
+ version : 4.0.1
8
8
repository : file://../libchart
Original file line number Diff line number Diff line change @@ -197,8 +197,5 @@ volumes: []
197
197
198
198
deployKind : deployment
199
199
200
- autoscaling :
201
- enabled : false
202
-
203
200
# https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
204
201
dnsConfig : {}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: library
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 4.0.0
18
+ version : 4.0.1
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change @@ -6,23 +6,27 @@ metadata:
6
6
labels:
7
7
{ {- include " libchart.labels" . | nindent 4 } }
8
8
spec:
9
+ maxReplicas: { { .Values.autoscaling.maxReplicas } }
10
+ metrics:
11
+ { {- if .Values.autoscaling.targetCPUUtilizationPercentage } }
12
+ - resource:
13
+ name: cpu
14
+ target:
15
+ averageUtilization: { { .Values.autoscaling.targetCPUUtilizationPercentage } }
16
+ type: Utilization
17
+ type: Resource
18
+ { {- end } }
19
+ { {- if .Values.autoscaling.targetMemoryUtilizationPercentage } }
20
+ - resource:
21
+ name: memory
22
+ target:
23
+ averageUtilization: { { .Values.autoscaling.targetMemoryUtilizationPercentage } }
24
+ type: Utilization
25
+ type: Resource
26
+ { {- end } }
27
+ minReplicas: { { .Values.autoscaling.minReplicas } }
9
28
scaleTargetRef:
10
29
apiVersion: apps/v1
11
30
kind: Deployment
12
31
name: { { include " libchart.fullname" . } }
13
- minReplicas: { { .Values.autoscaling.minReplicas } }
14
- maxReplicas: { { .Values.autoscaling.maxReplicas } }
15
- metrics:
16
- { {- if .Values.autoscaling.targetCPUUtilizationPercentage } }
17
- - type: Resource
18
- resource:
19
- name: cpu
20
- targetAverageUtilization: { { .Values.autoscaling.targetCPUUtilizationPercentage } }
21
- { {- end } }
22
- { {- if .Values.autoscaling.targetMemoryUtilizationPercentage } }
23
- - type: Resource
24
- resource:
25
- name: memory
26
- targetAverageUtilization: { { .Values.autoscaling.targetMemoryUtilizationPercentage } }
27
- { {- end } }
28
- { {- end } }
32
+ { {- end } }
Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
description : Node.js Helm Chart
3
3
name : nodejs
4
- version : 17.0.0
4
+ version : 17.0.1
5
5
dependencies :
6
6
- name : libchart
7
- version : 4.0.0
7
+ version : 4.0.1
8
8
repository : file://../libchart
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ apiVersion: v2
2
2
appVersion : " 1.0"
3
3
description : Helm chart for deployment of web servers
4
4
name : web
5
- version : 14.0.0
5
+ version : 14.0.1
6
6
dependencies :
7
7
- name : libchart
8
- version : 4.0.0
8
+ version : 4.0.1
9
9
repository : file://../libchart
You can’t perform that action at this time.
0 commit comments