This repository contains Kubernetes job definitions and Python scripts for running GPU-enabled tests and experiments on the NRP Nautilus cluster.
jobs/
— YAML job templates to submit to Kubernetesscripts/
— Python scripts to be run inside the job containers
-
Clone this repo:
git clone https://github.com/csml-beach/nrp.git cd nrp
-
Submit a job:
kubectl apply -f jobs/gpu-test-git.yaml -n csml-beach
-
Monitor the job:
kubectl get pods -n csml-beach kubectl logs <pod-name> -n csml-beach
-
Check results: Output is saved to the PVC mounted at
/mnt/data
, e.g.:/mnt/data/output_gpu_test.py.txt
- Ensure your user has proper RBAC access to your namespace
- The container runs as root to allow writing to mounted volumes
- You can change the script being executed by modifying the
SCRIPT_NAME
env var in the YAML