Skip to content

Commit

Permalink
Merge pull request #28 from mage-ai/xiaoyou/update-default-values
Browse files Browse the repository at this point in the history
[xy] Updates on standalone scheduler configs
  • Loading branch information
wangxiaoyou1993 authored Nov 9, 2023
2 parents ba5d098 + d671493 commit a3427fb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions charts/mageai/templates/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ spec:
- name: REDIS_URL
value: {{ .Values.redis.customRedisURL }}
{{- end }}
- name: INSTANCE_TYPE
value: scheduler
volumeMounts:
{{- if .Values.volumes }}
- name: mage-fs
Expand Down
2 changes: 2 additions & 0 deletions charts/mageai/templates/webservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ spec:
- name: REDIS_URL
value: {{ .Values.redis.customRedisURL }}
{{- end }}
- name: INSTANCE_TYPE
value: web_server
volumeMounts:
{{- if .Values.volumes }}
- name: mage-fs
Expand Down
2 changes: 1 addition & 1 deletion charts/mageai/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Declare variables to be passed into your templates.

replicaCount: 1
standaloneScheduler: true
standaloneScheduler: false

# Effective if standaloneScheduler is true
scheduler:
Expand Down

0 comments on commit a3427fb

Please sign in to comment.