From 697601d0519fa9c538c724520b367a7e2a96213d Mon Sep 17 00:00:00 2001 From: Christopher Paciorek Date: Wed, 24 Feb 2021 15:51:17 -0800 Subject: [PATCH] fix addition of NUM_FUTURE_WORKERS --- templates/future-scheduler-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/future-scheduler-deployment.yaml b/templates/future-scheduler-deployment.yaml index 5dc727a..0193600 100755 --- a/templates/future-scheduler-deployment.yaml +++ b/templates/future-scheduler-deployment.yaml @@ -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 }}