Skip to content

Commit

Permalink
Add template to replicaSpec for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jose5918 committed Jan 30, 2018
1 parent e3146c4 commit 16f5d86
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/tf_job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ spec:
restartPolicy: OnFailure
- replicas: 2
tfReplicaType: PS
template:
spec:
containers:
- image: gcr.io/tf-on-k8s-dogfood/tf_sample:dc944ff
name: tensorflow
restartPolicy: OnFailure
6 changes: 6 additions & 0 deletions test/e2e/simple_job.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ spec:
restartPolicy: OnFailure
- replicas: 2
tfReplicaType: PS
template:
spec:
containers:
- image: gcr.io/tf-on-k8s-dogfood/tf_sample:dc944ff
name: tensorflow
restartPolicy: OnFailure

0 comments on commit 16f5d86

Please sign in to comment.