apiVersion: v1
kind: Pod
metadata:
  name: dlt-job
spec:
  containers:
    - name: dlt-job
      image: centaurusinfra/dlt-job
      imagePullPolicy: IfNotPresent   
      ports:
        - containerPort: 8888
          hostPort: 8888 
      resources:
        limits:
          nvidia.com/gpu: 2  # requesting 2 GPUs
      volumeMounts:
      - mountPath: /tmp/data
        name: network-data
  volumes:
  - name: network-data
    hostPath:
      #path: /data/yaohui/tf_records  # directory on host
      path: /nfs_3/tf_records/imagenet # network drive
      type: Directory
#  nodeName: titan34  # specify the node to run if needed
