Skip to content

Commit

Permalink
add min replicas (#143)
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 <65395820+ras-rm-bot@users.noreply.github.com>
  • Loading branch information
jterryons and ras-rm-bot authored Dec 8, 2020
1 parent 9690a42 commit cdccfb4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _infra/helm/sample/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ 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.1.1
version: 1.1.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.1.3
appVersion: 11.1.4
4 changes: 2 additions & 2 deletions _infra/helm/sample/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/sample/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ scaleAt:
memoryPercentage: 300
cpuPercentage: 200
replicas: 1
maxReplicas: 1
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
Expand Down

0 comments on commit cdccfb4

Please sign in to comment.