Skip to content

Commit c8c0caf

Browse files
Fix autoscaler node selector (#409)
Un-hardcode the existing nodeSelector
1 parent c06a982 commit c8c0caf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

charts/model-engine/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.1
18+
version: 0.1.2
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/model-engine/templates/celery_autoscaler_stateful_set.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ spec:
7373
- mountPath: /opt/.aws/config
7474
name: config-volume
7575
subPath: config
76+
{{ with .Values.nodeSelector }}
7677
nodeSelector:
77-
node-lifecycle: normal
78+
{{- toYaml . | nindent 8 }}
79+
{{- end }}
7880
tolerations:
7981
- key: CriticalAddonsOnly
8082
operator: Equal

0 commit comments

Comments
 (0)