Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 4d83490

Browse files
krishnaduraik8s-ci-robot
authored andcommitted
Revise API version to v1beta2 (#159)
1 parent 055b68f commit 4d83490

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ This repository contains the specification and implementation of `PyTorchJob` cu
2222
You can create PyTorch Job by defining a PyTorchJob config file. See the manifests for the [distributed MNIST example](./examples/mnist/). You may change the config file based on your requirements.
2323

2424
```
25-
cat examples/mnist/v1beta1/pytorch_job_mnist_gloo.yaml
25+
cat examples/mnist/v1beta2/pytorch_job_mnist_gloo.yaml
2626
```
2727
Deploy the PyTorchJob resource to start training:
2828

2929
```
30-
kubectl create -f examples/mnist/v1beta1/pytorch_job_mnist_gloo.yaml
30+
kubectl create -f examples/mnist/v1beta2/pytorch_job_mnist_gloo.yaml
3131
```
3232
You should now be able to see the created pods matching the specified number of replicas.
3333

@@ -50,15 +50,15 @@ See the status section to monitor the job status. Here is sample output when the
5050
```
5151
apiVersion: v1
5252
items:
53-
- apiVersion: kubeflow.org/v1beta1
53+
- apiVersion: kubeflow.org/v1beta2
5454
kind: PyTorchJob
5555
metadata:
5656
creationTimestamp: 2019-01-11T00:51:48Z
5757
generation: 1
5858
name: pytorch-dist-mnist
5959
namespace: kubeflow
6060
resourceVersion: "2146573"
61-
selfLink: /apis/kubeflow.org/v1beta1/namespaces/kubeflow/pytorchjobs/pytorch-dist-mnist
61+
selfLink: /apis/kubeflow.org/v1beta2/namespaces/kubeflow/pytorchjobs/pytorch-dist-mnist
6262
uid: 13ad0e7f-153b-11e9-b5c1-42010a80001e
6363
spec:
6464
cleanPodPolicy: None

0 commit comments

Comments
 (0)