Skip to content

Instantly share code, notes, and snippets.

@therako
Created February 25, 2018 10:04
Show Gist options
  • Save therako/26498269fc78b724d25ddd377e275c14 to your computer and use it in GitHub Desktop.
Save therako/26498269fc78b724d25ddd377e275c14 to your computer and use it in GitHub Desktop.
apiVersion: batch/v1
kind: Job
metadata:
name: tensorflow-package-builder
spec:
template:
spec:
containers:
- name: tensorflow-package-builder
image: tensorflow-builder
command: ["./generate_packages_script.sh"]
volumeMounts:
- mountPath: /code/tensorflow_pkg
name: built-package-vo
restartPolicy: Never
volumes:
- name: built-package-vo
emptyDir: {}
backoffLimit: 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment