Back to home page

EIC code displayed by LXR

 
 

    


Warning, /harvester/examples/k8s/job_cern.yaml is written in an unsupported language. File is not indexed.

0001 ---
0002 apiVersion: batch/v1
0003 kind: Job
0004 metadata:
0005   name: grid-job
0006 spec:
0007   ttlSecondsAfterFinished: 172800
0008   backoffLimit: 0
0009   template:
0010     spec:
0011       restartPolicy: Never
0012       containers:
0013         - name: atlas-grid-centos7
0014           image: atlasadc/atlas-grid-centos7
0015           env:
0016             - name: computingSite
0017               value: "$computingSite"
0018             - name: pandaQueueName
0019               value: "$pandaQueueName"
0020             - name: proxySecretPath
0021               value: "$proxySecretPath"
0022             - name: workerID
0023               value: "$workerID"
0024             - name: logs_frontend_w
0025               value: "$logs_frontend_w"
0026             - name: logs_frontend_r
0027               value: "$logs_frontend_r"
0028             - name: resourceType
0029               value: "$resourceType"
0030             - name: HARVESTER_WORKER_ID
0031               value: "$HARVESTER_WORKER_ID"
0032             - name: HARVESTER_ID
0033               value: "$HARVESTER_ID"
0034             - name: PANDA_JSID
0035               value: "$PANDA_JSID"
0036             - name: TMPDIR
0037               value: "/root"
0038             - name: PILOT_NOKILL
0039               value: "True"
0040           command: ["/usr/bin/bash"]
0041           args: ["-c", "cd; wget https://raw.githubusercontent.com/HSF/harvester/k8s_analysis/pandaharvester/harvestercloud/pilots_starter.py; chmod 755 pilots_starter.py; ./pilots_starter.py || true"]
0042           volumeMounts:
0043             - name: atlas
0044               mountPath: /cvmfs/atlas.cern.ch
0045             - name: atlas-condb
0046               mountPath: /cvmfs/atlas-condb.cern.ch
0047             - name: atlas-nightlies
0048               mountPath: /cvmfs/atlas-nightlies.cern.ch
0049             - name: sft
0050               mountPath: /cvmfs/sft.cern.ch
0051             - name: grid
0052               mountPath: /cvmfs/grid.cern.ch
0053             - name: proxy-secret
0054               mountPath: /proxy
0055       volumes:
0056         - name: atlas
0057           persistentVolumeClaim:
0058             claimName: csi-cvmfs-atlas-pvc
0059             readOnly: true
0060         - name: atlas-condb
0061           persistentVolumeClaim:
0062             claimName: csi-cvmfs-atlas-condb-pvc
0063             readOnly: true
0064         - name: atlas-nightlies
0065           persistentVolumeClaim:
0066             claimName: csi-cvmfs-atlas-nightlies-pvc
0067             readOnly: true
0068         - name: sft
0069           persistentVolumeClaim:
0070             claimName: csi-cvmfs-sft-pvc
0071             readOnly: true
0072         - name: grid
0073           persistentVolumeClaim:
0074             claimName: csi-cvmfs-grid-pvc
0075             readOnly: true
0076         - name: proxy-secret
0077           secret:
0078               secretName: proxy-secret