How to read multiple files(pdfs) from mapr volume performs OCR and dump in a mapr volume using kubernetes jobs

11/20/2019

''' apiVersion: batch/v1

kind: Job

metadata:

name: parallel-job

namespace:

spec:

completions: 6 # number of times to run

parallelism: 2 # number of pods that can run in parallel

backoffLimit: 6 # number of retries before throwing error

activeDeadlineSeconds: 10 # time to allow job to run

template:

metadata:

  labels:

    app: kubernetes-series

    tier: job

spec:

  restartPolicy: OnFailure

  containers:

    - name: job-fibonacci-2

      image: 

      args:

      - sleep

      - "1000000"

      resources:

        requests:

          memory: 500M

          cpu: 100

      volumeMounts:

      - name: 

        mountPath: 

      name: maprvolume

    volumes:

    - name: maprvolume

      persistentVolumeClaim:

        claimName: pvc-mapr
-- vik
containers
docker
google-kubernetes-engine
kubernetes
mapr

0 Answers