A TFJob is a resource with a YAML representation like the one below (edit to use the container image and command for your own training code):
```yaml
apiVersion:kubeflow.org/v1beta1
apiVersion:kubeflow.org/v1
kind:TFJob
metadata:
generateName:tfjob
...
...
@@ -71,7 +71,7 @@ spec:
If you want to give your TFJob pods access to credentials secrets, such as the GCP credentials automatically created when you do a GKE-based Kubeflow installation, you can mount and use a secret like this:
```yaml
apiVersion:kubeflow.org/v1beta1
apiVersion:kubeflow.org/v1
kind:TFJob
metadata:
generateName:tfjob
...
...
@@ -260,11 +260,11 @@ Choose a tf-job prototype from the following list of available prototypes, to ma
*`io.ksonnet.pkg.tf-job-operator` - A TensorFlow job operator.
*`io.ksonnet.pkg.tf-job-simple` - A simple TFJob to run CNN benchmark
*`io.ksonnet.pkg.tf-job-simple-v1beta1` - A simple TFJob to run CNN benchmark
*`io.ksonnet.pkg.tf-job-simple-v1` - A simple TFJob to run CNN benchmark