Skip to content

Commit

Permalink
add min replicas (#222)
Browse files Browse the repository at this point in the history
* add min replicas

* [ci skip] auto patch increment
skip-checks: true

Co-authored-by: ras-rm-bot <[email protected]>
  • Loading branch information
jterryons and ras-rm-bot authored Dec 8, 2020
1 parent 9c1d2e5 commit 4966d44
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _infra/helm/collection-exercise/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 1.2.1
version: 1.2.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 11.0.30
appVersion: 11.0.31

4 changes: 2 additions & 2 deletions _infra/helm/collection-exercise/templates/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ spec:
apiVersion: apps/v1
kind: Deployment
name: {{ .Chart.Name }}
minReplicas: 1
maxReplicas: {{ .Values.replicas }}
minReplicas: {{ .Values.replicas }}
maxReplicas: {{ .Values.maxReplicas }}
metrics:
- type: Resource
resource:
Expand Down
1 change: 1 addition & 0 deletions _infra/helm/collection-exercise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ scaleAt:
memoryPercentage: 200
cpuPercentage: 500
replicas: 1
maxReplicas: 1
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
Expand Down

0 comments on commit 4966d44

Please sign in to comment.