Skip to content

Commit

Permalink
Update tftraining.md (kubeflow#195)
Browse files Browse the repository at this point in the history
Provide VERSION variable with default value for example script
  • Loading branch information
ai4life authored and k8s-ci-robot committed Sep 8, 2018
1 parent 23849e0 commit 6e6ebfb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions content/docs/guides/components/tftraining.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,11 @@ Kubeflow ships with a [ksonnet prototype](https://ksonnet.io/docs/concepts#proto

You can also use this prototype to generate a component which you can then customize for your jobs.

Create the component
Create the component (update version as appropriate).

```
CNN_JOB_NAME=mycnnjob
VERSION=v0.2-branch

ks registry add kubeflow-git github.com/kubeflow/kubeflow/tree/${VERSION}/kubeflow
ks pkg install kubeflow-git/examples
Expand Down Expand Up @@ -646,4 +647,4 @@ Events:
* The pod tries to mount a volume (or secret) that doesn't exist or is unavailable
* The docker image doesn't exist or can't be accessed (e.g due to permission issues)
1. If the containers start; check the logs of the containers following the instructions
in the previous section.
in the previous section.

0 comments on commit 6e6ebfb

Please sign in to comment.