File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8080
8181 # test the helm chart with horizontal pod autoscaling enabled
8282 - name : Horizontal Pod Autoscaling Enabled
83- helm_args : ' --helm-extra-set-args "--set=hpa.enabled=true --set=hpa.minPods=1 --set=hpa.maxPods=3 --set=hpa.targetCPUUtilizationPercentage=75"'
83+ helm_args : ' --helm-extra-set-args "--set=hpa.enabled=true --set=hpa.minPods=2 --set=hpa.maxPods=3 --set=hpa.targetCPUUtilizationPercentage=75"'
8484
8585 steps :
8686 - name : Checkout
Original file line number Diff line number Diff line change 11apiVersion : v2
22name : nextcloud
3- version : 5.3.0
3+ version : 5.3.1
44appVersion : 29.0.4
55description : A file sharing server that puts the control and security of your own data back into your hands.
66keywords :
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ The following table lists the configurable parameters of the nextcloud chart and
203203| ` startupProbe.timeoutSeconds ` | When the probe times out | ` 5 ` |
204204| ` startupProbe.failureThreshold ` | Minimum consecutive failures for the probe | ` 30 ` |
205205| ` startupProbe.successThreshold ` | Minimum consecutive successes for the probe | ` 1 ` |
206- | ` hpa.enabled ` | Boolean to create a HorizontalPodAutoscaler | ` false ` |
206+ | ` hpa.enabled ` | Boolean to create a HorizontalPodAutoscaler. If set to ` true ` , ignores ` replicaCount ` . | ` false ` |
207207| ` hpa.cputhreshold ` | CPU threshold percent for the HorizontalPodAutoscale | ` 60 ` |
208208| ` hpa.minPods ` | Min. pods for the Nextcloud HorizontalPodAutoscaler | ` 1 ` |
209209| ` hpa.maxPods ` | Max. pods for the Nextcloud HorizontalPodAutoscaler | ` 10 ` |
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ metadata:
1717 {{- toYaml . | nindent 4 }}
1818 {{- end }}
1919spec :
20+ {{- if not .Values.hpa.enabled }}
2021 replicas : {{ .Values.replicaCount }}
22+ {{- end }}
2123 strategy :
2224 {{- toYaml .Values.nextcloud.strategy | nindent 4 }}
2325 selector :
You can’t perform that action at this time.
0 commit comments