Run Tensorflow Jobs
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.
kubectl create -f examples/tfjob/tf-job-mnist.yaml
The file for this example can be found in the README Tensorflow job section.