kubequeue
- Install kubectl
- Add your function to
tasks.py
, seeadd_one
for example - Configure
cluster-start.sh
parameters (including CLUSTER_ID) - Configure
IMAGE_NAME
inimage-build.sh
andworker.yaml
- Add dependencies to Dockerfile
- Run
./image-build.sh
- Run
./cluster-start.sh
- Run
./kube-start.sh
- Change the
TASK
andARGS
parameters to your input task/arguments insubmit.py
. - Replace
print(outputs)
with whatever you want to do with your outputs. - Run
python3 submit.py
and wait!