From 09fde16986363d80de66a0331f88f9462bfdd7ee Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Mon, 25 Jun 2018 16:18:06 -0400 Subject: [PATCH] Expose the number of compute nodes in values.yaml No issue # Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- charts/arvados/templates/slurm-compute-deployment.yaml | 2 +- charts/arvados/values.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/arvados/templates/slurm-compute-deployment.yaml b/charts/arvados/templates/slurm-compute-deployment.yaml index fdbc338..92757a7 100644 --- a/charts/arvados/templates/slurm-compute-deployment.yaml +++ b/charts/arvados/templates/slurm-compute-deployment.yaml @@ -12,7 +12,7 @@ metadata: release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: - replicas: 4 + replicas: {{ .Values.compute.nodes }} podManagementPolicy: Parallel serviceName: arvados-slurm-compute selector: diff --git a/charts/arvados/values.yaml b/charts/arvados/values.yaml index b9270b3..d8dda89 100644 --- a/charts/arvados/values.yaml +++ b/charts/arvados/values.yaml @@ -22,6 +22,10 @@ superUserSecret: "thisisnotaverygoodsuperusersecretstring00000000000" # An anonymous user token anonymousUserSecret: "thisisnotaverygoodanonymoussecretstring00000000000" +# The number of compute nodes to spin up +compute: + nodes: 4 + # The package versions for this Arvados cluster. Also see # # curl http://versions.arvados.org/v1/commit/ | jq . -- 2.30.2