-
Notifications
You must be signed in to change notification settings - Fork 0
/
.nextflow.pod.yaml
27 lines (27 loc) · 963 Bytes
/
.nextflow.pod.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
apiVersion: v1
kind: Pod
metadata:
name: admiring-euclid
namespace: nextflow
labels: {app: nextflow, runName: admiring-euclid}
spec:
restartPolicy: Never
containers:
- name: admiring-euclid
image: nextflow/nextflow:21.10.6
command: [/bin/bash, -c, source /etc/nextflow/init.sh; nextflow run alexshires/nextflow-demos
-name admiring-euclid -r main]
env:
- {name: NXF_WORK, value: /mnt/nextflow/nextflow/ashires/work}
- {name: NXF_ASSETS, value: /mnt/nextflow/nextflow/projects}
- {name: NXF_EXECUTOR, value: k8s}
- {name: NXF_ANSI_LOG, value: 'false'}
volumeMounts:
- {name: vol-1, mountPath: /mnt/nextflow/nextflow, subPath: /nextflow/data}
- {name: vol-2, mountPath: /etc/nextflow}
serviceAccountName: system:serviceaccount:nextflow:default
volumes:
- name: vol-1
persistentVolumeClaim: {claimName: nextflow-filestore-nextflow-claim}
- name: vol-2
configMap: {name: nf-config-b03b50e0}