Skip to content

Commit

Permalink
add: support rwo using node affinity
Browse files Browse the repository at this point in the history
  • Loading branch information
mosoriob committed Sep 17, 2024
1 parent 1e6a6d4 commit 27c55e4
Show file tree
Hide file tree
Showing 7 changed files with 164 additions and 97 deletions.
2 changes: 1 addition & 1 deletion charts/mint/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: 3.3.5
version: 3.3.6
# 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
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
1 change: 1 addition & 0 deletions charts/mint/templates/ensemble-manager-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ data:
"namespace": {{ .Values.external_services.kubernetes.namespace | quote }},
"use": {{ .Values.external_services.kubernetes.enabled }},
"cpu_limit": {{ .Values.external_services.kubernetes.cpu_limit | quote }},
"node_affinity": {{ .Values.external_services.kubernetes.node_affinity }},
"memory_limit": {{ .Values.external_services.kubernetes.memory_limit | quote }}
},
{{- end}}
Expand Down
4 changes: 4 additions & 0 deletions charts/mint/templates/ensemble-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ spec:
key: admin_secret
- name: ENSEMBLE_MANAGER_CONFIG_FILE
value: /home/node/app/config.json
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
volumeMounts:
- name: storage
mountPath: /home/node/app/data
Expand Down
1 change: 1 addition & 0 deletions charts/mint/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -399,3 +399,4 @@ external_services:
namespace: "default"
cpu_limit: "256m"
memory_limit: "512Mi"
node_affinity: true
Loading

0 comments on commit 27c55e4

Please sign in to comment.