Andrey Tatarinov
12/26/2021, 8:25 PMAndrey Tatarinov
12/26/2021, 8:27 PMapiVersion: batch/v1
kind: Job
spec:
template:
spec:
containers:
- name: flow
volumeMounts:
- mountPath: /notebooks/ceph-data
name: ceph-data
volumes:
- name: ceph-data
persistentVolumeClaim:
claimName: ceph-data
Andrey Tatarinov
12/26/2021, 8:29 PMKevin Kho
Kevin Kho
Andrey Tatarinov
12/27/2021, 7:49 AMapiVersion: batch/v1
kind: Job
spec:
template:
spec:
containers:
- name: flow
command:
- /bin/sh
- -c
args:
- prefect
- execute
- flow-run
volumeMounts:
- mountPath: /notebooks/ceph-data
name: ceph-data
resources:
limits:
cpu: "2"
memory: 2Gi
requests:
cpu: 100m
memory: 2Gi
volumes:
- name: ceph-data
persistentVolumeClaim:
claimName: ceph-data
Andrey Tatarinov
12/27/2021, 7:50 AMcommand
and args
broke everythingKevin Kho
command
and args
. Is there something stopping you from using the base Prefect image if this is your command?Andrey Tatarinov
01/04/2022, 7:03 PMcommand
and args
it started to work.Kevin Kho