Skip to content

Commit fc46a92

Browse files
authored
feat: Update readme (kubeflow#1244)
Signed-off-by: cegao <[email protected]>
1 parent 047d6af commit fc46a92

File tree

2 files changed

+28
-40
lines changed

2 files changed

+28
-40
lines changed

README.md

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,38 @@
44
[![Coverage Status](https://coveralls.io/repos/github/kubeflow/tf-operator/badge.svg?branch=master)](https://coveralls.io/github/kubeflow/tf-operator?branch=master)
55
[![Go Report Card](https://goreportcard.com/badge/github.com/kubeflow/tf-operator)](https://goreportcard.com/report/github.com/kubeflow/tf-operator)
66

7-
## Quick Links
8-
9-
* [Prow test dashboard](https://k8s-testgrid.appspot.com/sig-big-data)
10-
* [Prow jobs dashboard](https://prow.k8s.io/?repo=kubeflow%2Ftf-operator)
11-
* [Argo UI for E2E tests](http://testing-argo.kubeflow.org)
12-
137
## Overview
148

159
TFJob provides a Kubernetes custom resource that makes it easy to
1610
run distributed or non-distributed TensorFlow jobs on Kubernetes.
1711

18-
Please refer to the [user guide](https://www.kubeflow.org/docs/guides/components/tftraining/) for more information.
12+
- For a complete reference of the custom resource definitions, please refer to the [API Definition](pkg/apis/tensorflow/v1/types.go).
13+
- For details on its design, please refer to the [v1alpha2 design doc](https://github.com/kubeflow/community/blob/master/proposals/tf-operator-design-v1alpha2.md).
14+
- For details on its obersibility, please refer to the [monitoring design doc](docs/monitoring/README.md).
15+
16+
## Prerequisites
17+
18+
* Version >= 1.16 of Kubernetes
1919

20-
## Deploy
20+
## Installation
2121

2222
```bash
2323
kubectl apply -f ./deploy/v1/tf-operator.yaml
2424
```
2525

26+
## Quick Start
27+
28+
Please refer to the [quick-start-v1.md](docs/quick-start-v1.md) and [Kubeflow user guide](https://www.kubeflow.org/docs/guides/components/tftraining/) for more information.
29+
30+
## Community
31+
32+
You can:
33+
34+
- Join our [Slack](https://join.slack.com/t/kubeflow/shared_invite/zt-lhkwrmkh-JPT2g9eva1oPkS00~VHZDQ) channel.
35+
- Check out [who is using this operator](./docs/adopters.md).
36+
37+
This is a part of Kubeflow, so please see [readme in kubeflow/kubeflow](https://github.com/kubeflow/kubeflow#get-involved) to get in touch with the community.
38+
2639
## Contributing
2740

2841
Please refer to the [developer_guide](developer_guide.md)
@@ -31,10 +44,11 @@ Please refer to the [developer_guide](developer_guide.md)
3144

3245
Please refer to [CHANGELOG](CHANGELOG.md)
3346

34-
## Adopters
47+
## Version Matrix
3548

36-
Please refer to [adopters list](./docs/adopters.md).
49+
The following table lists the most recent few versions of the operator.
3750

38-
## Community
39-
40-
This is a part of Kubeflow, so please see [readme in kubeflow/kubeflow](https://github.com/kubeflow/kubeflow#get-involved) to get in touch with the community.
51+
| Operator Version | API Version | Kubernetes Version |
52+
| ------------- | ------------- | ------------- |
53+
| `latest` (master HEAD) | `v1` | 1.16+ |
54+
| `v1.0.x`| `v1` | 1.16+ |

developer_guide.md

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ ln -sf ${GIT_TRAINING} ${go env GOPATH}/src/github.com/kubeflow/tf-operator
1313

1414
* GIT_TRAINING should be the location where you checked out https://github.com/kubeflow/tf-operator
1515

16-
Resolve dependencies (if you don't have dep install, check how to do it [here](https://github.com/golang/dep))
17-
1816
Install dependencies
1917

2018
```sh
21-
dep ensure
19+
GO111MODULE="on" go mod vendor
2220
```
2321

2422
Build it
@@ -27,30 +25,6 @@ Build it
2725
go install github.com/kubeflow/tf-operator/cmd/tf-operator.v1
2826
```
2927

30-
## Building all the artifacts.
31-
32-
[pipenv](https://pipenv.pypa.io/en/stable/) is recommended to manage local Python environment.
33-
You can find setup information on their website.
34-
35-
To build the following artifacts:
36-
37-
* Docker image for the operator
38-
* Helm chart for deploying it
39-
40-
You can run
41-
42-
```sh
43-
# to setup pipenv you have to step into the directory where Pipfile is located
44-
cd py/kubeflow/tf_operator
45-
pipenv install
46-
pipenv shell
47-
cd ../..
48-
python -m kubeflow.tf_operator.release local --registry=${REGISTRY}
49-
```
50-
51-
* The docker image will be tagged into your registry
52-
* The helm chart will be created in **./bin**
53-
5428
## Running the Operator Locally
5529

5630
Running the operator locally (as opposed to deploying it on a K8s cluster) is convenient for debugging/development.

0 commit comments

Comments
 (0)