Skip to content

Instantly share code, notes, and snippets.

@vpavlin
Created July 2, 2020 08:54
Show Gist options
  • Save vpavlin/466fa44adf0c6a0e81e4c4cd6abd266a to your computer and use it in GitHub Desktop.
Save vpavlin/466fa44adf0c6a0e81e4c4cd6abd266a to your computer and use it in GitHub Desktop.
apiVersion: "kubeflow.org/v1"
kind: "TFJob"
metadata:
name: "dist-mnist-for-e2e-test"
spec:
tfReplicaSpecs:
PS:
replicas: 2
restartPolicy: Never
template:
spec:
containers:
- name: tensorflow
image: quay.io/vpavlin/tf-dist-mnist-test:1.0
Worker:
replicas: 4
restartPolicy: Never
template:
spec:
containers:
- name: tensorflow
image: quay.io/vpavlin/tf-dist-mnist-test:1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment