-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.yml
37 lines (36 loc) · 1 KB
/
launch.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
apiVersion: v1
kind: Pod
metadata:
name: nicfi-dl
spec:
securityContext:
runAsUser: 71032 # User ID for accessing NFS
runAsGroup: 9915 # Group ID for accessing NFS
restartPolicy: Never
containers:
- name: nicfi-downloader-container
image: ghcr.io/wmgeolab/nicfi-download:latest # Replace with the actual image name
imagePullPolicy: Always
command: ["/bin/sh", "-c"]
args:
- |
# Ensure required directories are set up
export OUTPUT_DIR=/sciclone/geograd/satellite_data/NICFI/MX_TX_SOUTHERN_US_BORDER
export LOG_DIR=/sciclone/geograd/satellite_data/NICFI/LOGS
# Run the NICFI Python script
sleep 999999
volumeMounts:
- name: nfs-mount
mountPath: /sciclone
resources:
requests:
memory: "64Gi"
cpu: "6"
limits:
memory: "64Gi"
cpu: "6"
volumes:
- name: nfs-mount
nfs:
server: 128.239.59.144
path: /sciclone