Skip to content

Commit

Permalink
fix: fix on autoscaling values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Vicente Giner Sanchez committed Feb 9, 2023
1 parent b4d7cca commit 15119b4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/one-beyond-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.8
version: 0.1.9

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 3 additions & 3 deletions charts/one-beyond-service/templates/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ spec:
name: {{ include "ob-service.fullname" . }}
minReplicas: {{ .Values.autoscaling.minReplicas }}
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
{{- with .Values.autoscaling.metrics }}
{{- with .Values.autoscaling.metrics }}
metrics:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
10 changes: 5 additions & 5 deletions charts/one-beyond-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ autoscaling:
maxReplicas: 100
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 20
resource:
name: cpu
target:
type: Utilization
averageUtilization: 20

nodeSelector: {}

Expand Down

0 comments on commit 15119b4

Please sign in to comment.