Here is an example for Tensorflow job. You must install tf-operator first. You can install tf-operator by applying all yaml from two website down below:
- CRD: https://github.com/kubeflow/manifests/tree/master/tf-training/tf-job-crds/base
- Deployment: https://github.com/kubeflow/manifests/tree/master/tf-training/tf-job-operator/base Also you can install kubeflow which can auto install tf-operator for you, URL: https://www.kubeflow.org/docs/started/getting-started/
A simple Tensorflow job example:
You need to build the image which used in example yaml.
The file for this example can be found in the README Tensorflow job section.