Skip to content

Instantly share code, notes, and snippets.

@wbuchwalter
Created August 2, 2017 15:28
Show Gist options
  • Select an option

  • Save wbuchwalter/a55be86aa33d688ef0517751cf947943 to your computer and use it in GitHub Desktop.

Select an option

Save wbuchwalter/a55be86aa33d688ef0517751cf947943 to your computer and use it in GitHub Desktop.
apiVersion: "mlkube.io/v1beta1"
kind: TfJob
metadata:
name: whatev
spec:
replica_specs:
- replicas: 1
tf_port: 2222
tf_replica_type: MASTER
template:
spec:
containers:
- image: wbuchwalter/helm-tf:hyper-param-sweep
command:
- python
- main.py
name: tensorflow
env:
- name: LC_ALL
value: C.UTF-8
resources:
limits:
alpha.kubernetes.io/nvidia-gpu: 1
restartPolicy: OnFailure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment