Skip to content

Commit

Permalink
fix addition of NUM_FUTURE_WORKERS
Browse files Browse the repository at this point in the history
  • Loading branch information
paciorek committed Feb 24, 2021
1 parent b70098d commit 697601d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/future-scheduler-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
args:
- sh
- -c
- "echo R_PARALLEL_PORT={{ .Values.scheduler.RfuturePort }} NUM_FUTURE_WORKERS={{ .Values.worker.replicas }} >> /usr/local/lib/R/etc/Renviron && Rscript -e 'setup_kube()' && PASSWORD={{ .Values.scheduler.RStudioPassword }} /init"
- "echo R_PARALLEL_PORT={{ .Values.scheduler.RfuturePort }} >> /usr/local/lib/R/etc/Renviron && echo NUM_FUTURE_WORKERS={{ .Values.worker.replicas }} >> /usr/local/lib/R/etc/Renviron && Rscript -e 'setup_kube()' && PASSWORD={{ .Values.scheduler.RStudioPassword }} /init"
ports:
- containerPort: {{ .Values.scheduler.RfuturePort }}
- containerPort: {{ .Values.scheduler.servicePort }}
Expand Down

0 comments on commit 697601d

Please sign in to comment.