Skip to content
28 changes: 28 additions & 0 deletions samples/jindo/job.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: batch/v1
kind: Job
metadata:
name: fluid-test
spec:
backoffLimit: 1
template:
spec:
restartPolicy: Never
containers:
- name: busybox
image: busybox
command: ["/bin/sh"]
resources:
limits:
memory: "512Mi"
ephemeral-storage: "5Gi"
args:
- -c
- set -ex; test -n "$(ls /data)" && test "$(cat /data/testfile)" = "helloworld"
volumeMounts:
- mountPath: /data
name: fluid-vol
automountServiceAccountToken: false
volumes:
- name: fluid-vol
persistentVolumeClaim:
claimName: jindo-demo
Loading