1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: Apache-2.0
8 name: "arvados-slurm-compute"
10 app: arvados-slurm-compute
11 chart: {{ template "arvados.chart" . }}
12 release: {{ .Release.Name }}
13 heritage: {{ .Release.Service }}
15 replicas: {{ .Values.compute.nodes }}
16 podManagementPolicy: Parallel
17 serviceName: arvados-slurm-compute
20 app: arvados-slurm-compute
21 release: {{ .Release.Name }}
25 app: arvados-slurm-compute
26 release: {{ .Release.Name }}
30 - "arvados-slurm-compute.default.svc.cluster.local"
31 terminationGracePeriodSeconds: 1
33 - name: {{ .Chart.Name }}
34 image: "cure/arvados-slurm-runtime"
35 imagePullPolicy: {{ .Values.image.pullPolicy }}
39 - "/usr/local/bin/bootstrap.sh python-arvados-python-client={{ .Values.arvados.versions.distribution.pythonArvadosPythonClient }} crunch-run={{ .Values.arvados.versions.distribution.crunchRun }} python-arvados-fuse={{ .Values.arvados.versions.distribution.pythonArvadosFuse }} && mkdir /munge && cp -p /etc/munge/munge.key /munge && chown munge:munge /munge/munge.key && mkdir /var/slurm && chmod 700 /var/slurm && sudo -u munge munged --key-file=/munge/munge.key && /etc/init.d/docker start && slurmd -D"
43 - name : ARVADOS_API_HOST
44 value: "{{ .Values.externalIP }}:444"
45 - name : ARVADOS_API_HOST_INSECURE
47 - name : ARVADOS_API_TOKEN
48 value: "{{ .Values.superUserSecret }}"
50 - name: slurm-configmap
51 mountPath: /etc/slurm-llnl/slurm.conf
53 - name: slurm-configmap
54 mountPath: /etc/munge/munge.key
56 - name: docker-graph-storage
57 mountPath: /var/lib/docker
60 - name: slurm-configmap
64 - name: docker-graph-storage