apiVersion: batch/v1
kind: Job
metadata:
  name: spacy-job1
  namespace: recommeddit
spec:
  template:
    spec:
      containers:
      - name: spacy-pod
        image: mehir123/spacy:latest
        command: ["/bin/sh"]
        args: ["-c", "wandb agent mehir/ner_test/kk1f060o & wandb agent mehir/ner_test/kk1f060o"]
        resources:
          limits:
            memory: 10Gi
            cpu: 2
            nvidia.com/gpu: 1
            ephemeral-storage: 5Gi    
          requests:
            memory: 10Gi
            cpu: 2
            nvidia.com/gpu: 1
            ephemeral-storage: 5Gi    
        volumeMounts:
        - mountPath: /tempstore
          name: tempstore
      volumes:
        - name: tempstore
          emptyDir: {}
      restartPolicy: Never     
  backoffLimit: 4
