Expose the number of compute nodes in values.yaml
authorWard Vandewege <wvandewege@veritasgenetics.com>
Mon, 25 Jun 2018 20:18:06 +0000 (16:18 -0400)
committerWard Vandewege <wvandewege@veritasgenetics.com>
Mon, 25 Jun 2018 20:18:06 +0000 (16:18 -0400)
No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege@veritasgenetics.com>

charts/arvados/templates/slurm-compute-deployment.yaml
charts/arvados/values.yaml

index fdbc3384826b4ff41e68d5b87876ce2985a71987..92757a7841e90d9c664140f5be176c2a5337e162 100644 (file)
@@ -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:
index b9270b3e562b4238ca216434eb06d21c1c84d385..d8dda89c44af77979216d5f850b7b622466dc87b 100644 (file)
@@ -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 .