diff --git a/.travis.yml b/.travis.yml index 7239ea695f..8c42b17950 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ go: - 1.8 - 1.9 -go_import_path: github.com/tensorflow/k8s +go_import_path: github.com/kubeflow/tf-operator install: # get coveralls.io support @@ -19,7 +19,7 @@ install: - gometalinter --install script: - - go build -o tf-operator github.com/tensorflow/k8s/cmd/tf_operator + - go build -o tf-operator github.com/kubeflow/tf-operator/cmd/tf_operator - gometalinter --config=linter_config.json ./pkg/... # We customize the build step because by default # Travis runs go test -v ./... which will include the vendor diff --git a/README.md b/README.md index 21e5c0dc12..a4fc910351 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # K8s Custom Resource and Operator For TensorFlow jobs -[![Build Status](https://travis-ci.org/tensorflow/k8s.svg?branch=master)](https://travis-ci.org/tensorflow/k8s) -[![Coverage Status](https://coveralls.io/repos/github/tensorflow/k8s/badge.svg?branch=master)](https://coveralls.io/github/tensorflow/k8s?branch=master) -[![Go Report Card](https://goreportcard.com/badge/github.com/tensorflow/k8s)](https://goreportcard.com/report/github.com/tensorflow/k8s) +[![Build Status](https://travis-ci.org/kubeflow/tf-operator.svg?branch=master)](https://travis-ci.org/kubeflow/tf-operator) +[![Coverage Status](https://coveralls.io/repos/github/kubeflow/tf-operator/badge.svg?branch=master)](https://coveralls.io/github/kubeflow/tf-operator?branch=master) +[![Go Report Card](https://goreportcard.com/badge/github.com/kubeflow/tf-operator)](https://goreportcard.com/report/github.com/kubeflow/tf-operator) [Prow Test Dashboard](https://k8s-testgrid.appspot.com/sig-big-data) [Prow Jobs](https://prow.k8s.io/?repo=tensorflow%2Fk8s) @@ -97,11 +97,11 @@ TFJob requires Kubernetes >= 1.8 PASSED: tf-job-tfjob-test-pqxkwk ``` -### Installing `tensorflow/k8s`'s Dashboard +### Installing `kubeflow/tf-operator`'s Dashboard > **Caution: the dashboard is in very early development stage!** -`tensorflow/k8s` also includes a dashboard allowing you to monitor and create `TFJobs` through a web UI. +`kubeflow/tf-operator` also includes a dashboard allowing you to monitor and create `TFJobs` through a web UI. To deploy the dashboard, set `dashboard.install` to `true`. Note that by default the dashboard will only be accessible from within the cluster or by proxying, as the default `ServiceType` is `ClusterIP`. If you wish to expose the dashboard through an external IP, set `dashboard.serviceType` to `LoadBalancer`. @@ -174,7 +174,7 @@ Subsequently, any pod requesting a resource of type `alpha.kubernetes.io/nvidia- You create a job by defining a TFJob and then creating it with. ``` -kubectl create -f https://raw.githubusercontent.com/tensorflow/k8s/master/examples/tf_job.yaml +kubectl create -f https://raw.githubusercontent.com/kubeflow/tf-operator/master/examples/tf_job.yaml ``` In this case the job spec looks like the following @@ -280,9 +280,9 @@ for using GPUs. ### Requesting a TensorBoard instance You can also ask the `TFJob` operator to create a TensorBoard instance -by including a [TensorBoardSpec](https://github.com/tensorflow/k8s/blob/master/pkg/apis/tensorflow/v1alpha1/types.go#L95) +by including a [TensorBoardSpec](https://github.com/kubeflow/tf-operator/blob/master/pkg/apis/tensorflow/v1alpha1/types.go#L95) in your job. The table below describes the important fields in -[TensorBoardSpec](https://github.com/tensorflow/k8s/blob/master/pkg/apis/tensorflow/v1alpha1/types.go#L95). +[TensorBoardSpec](https://github.com/kubeflow/tf-operator/blob/master/pkg/apis/tensorflow/v1alpha1/types.go#L95). | Name | Description | Required | Default | |---|---|---|---| diff --git a/build/images/tf_operator/build_and_push.py b/build/images/tf_operator/build_and_push.py index 75f91b02f2..c09a522459 100755 --- a/build/images/tf_operator/build_and_push.py +++ b/build/images/tf_operator/build_and_push.py @@ -104,9 +104,9 @@ def main(): # pylint: disable=too-many-locals, too-many-statements go_path = os.environ["GOPATH"] targets = [ - "github.com/tensorflow/k8s/cmd/tf_operator", - "github.com/tensorflow/k8s/test/e2e", - "github.com/tensorflow/k8s/dashboard/backend", + "github.com/kubeflow/tf-operator/cmd/tf_operator", + "github.com/kubeflow/tf-operator/test/e2e", + "github.com/kubeflow/tf-operator/dashboard/backend", ] for t in targets: subprocess.check_call(["go", "install", t]) diff --git a/build/release/README.md b/build/release/README.md index f8e17965d1..d386575d48 100644 --- a/build/release/README.md +++ b/build/release/README.md @@ -1,6 +1,6 @@ ## Releasing -* The script [release.py](https://github.com/tensorflow/k8s/blob/master/py/release.py) will build and push a release +* The script [release.py](https://github.com/kubeflow/tf-operator/blob/master/py/release.py) will build and push a release based on the latest green postsubmit. * The script can be run continuously and will periodically check for new diff --git a/cmd/tf_operator/app/server.go b/cmd/tf_operator/app/server.go index 60a6413bc7..7a58c3469e 100644 --- a/cmd/tf_operator/app/server.go +++ b/cmd/tf_operator/app/server.go @@ -31,15 +31,15 @@ import ( "k8s.io/client-go/tools/leaderelection/resourcelock" "k8s.io/client-go/tools/record" - "github.com/tensorflow/k8s/cmd/tf_operator/app/options" - "github.com/tensorflow/k8s/pkg/apis/tensorflow/v1alpha1" - tfjobclient "github.com/tensorflow/k8s/pkg/client/clientset/versioned" - "github.com/tensorflow/k8s/pkg/client/clientset/versioned/scheme" - informers "github.com/tensorflow/k8s/pkg/client/informers/externalversions" - "github.com/tensorflow/k8s/pkg/controller" - "github.com/tensorflow/k8s/pkg/util" - "github.com/tensorflow/k8s/pkg/util/k8sutil" - "github.com/tensorflow/k8s/version" + "github.com/kubeflow/tf-operator/cmd/tf_operator/app/options" + "github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1" + tfjobclient "github.com/kubeflow/tf-operator/pkg/client/clientset/versioned" + "github.com/kubeflow/tf-operator/pkg/client/clientset/versioned/scheme" + informers "github.com/kubeflow/tf-operator/pkg/client/informers/externalversions" + "github.com/kubeflow/tf-operator/pkg/controller" + "github.com/kubeflow/tf-operator/pkg/util" + "github.com/kubeflow/tf-operator/pkg/util/k8sutil" + "github.com/kubeflow/tf-operator/version" ) var ( diff --git a/cmd/tf_operator/main.go b/cmd/tf_operator/main.go index 84a66de061..fd98df722a 100644 --- a/cmd/tf_operator/main.go +++ b/cmd/tf_operator/main.go @@ -19,8 +19,8 @@ import ( "fmt" "os" - "github.com/tensorflow/k8s/cmd/tf_operator/app" - "github.com/tensorflow/k8s/cmd/tf_operator/app/options" + "github.com/kubeflow/tf-operator/cmd/tf_operator/app" + "github.com/kubeflow/tf-operator/cmd/tf_operator/app/options" ) func main() { diff --git a/dashboard/backend/client/manager.go b/dashboard/backend/client/manager.go index ff18052035..1a7295d19c 100644 --- a/dashboard/backend/client/manager.go +++ b/dashboard/backend/client/manager.go @@ -2,8 +2,8 @@ package client import ( - "github.com/tensorflow/k8s/pkg/client/clientset/versioned" - "github.com/tensorflow/k8s/pkg/util/k8sutil" + "github.com/kubeflow/tf-operator/pkg/client/clientset/versioned" + "github.com/kubeflow/tf-operator/pkg/util/k8sutil" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" ) diff --git a/dashboard/backend/handler/api_handler.go b/dashboard/backend/handler/api_handler.go index 5e112169d0..a1e668360d 100644 --- a/dashboard/backend/handler/api_handler.go +++ b/dashboard/backend/handler/api_handler.go @@ -9,8 +9,8 @@ import ( log "github.com/golang/glog" "github.com/emicklei/go-restful" - "github.com/tensorflow/k8s/dashboard/backend/client" - "github.com/tensorflow/k8s/pkg/apis/tensorflow/v1alpha1" + "github.com/kubeflow/tf-operator/dashboard/backend/client" + "github.com/kubeflow/tf-operator/pkg/apis/tensorflow/v1alpha1" "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/dashboard/backend/main.go b/dashboard/backend/main.go index 4126b512b2..cd78ebb914 100644 --- a/dashboard/backend/main.go +++ b/dashboard/backend/main.go @@ -5,8 +5,8 @@ import ( "net/http" "os" - "github.com/tensorflow/k8s/dashboard/backend/client" - "github.com/tensorflow/k8s/dashboard/backend/handler" + "github.com/kubeflow/tf-operator/dashboard/backend/client" + "github.com/kubeflow/tf-operator/dashboard/backend/handler" ) func main() { diff --git a/dashboard/frontend/README.md b/dashboard/frontend/README.md index 811282aa14..28a11f67ca 100644 --- a/dashboard/frontend/README.md +++ b/dashboard/frontend/README.md @@ -1,6 +1,6 @@ # Frontend code for Kubeflow -[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/tensorflow/k8s) +[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/kubeflow/tf-operator) ## Editor Setup diff --git a/dashboard/frontend/package.json b/dashboard/frontend/package.json index cad67247c9..b650dbadb9 100644 --- a/dashboard/frontend/package.json +++ b/dashboard/frontend/package.json @@ -1,7 +1,7 @@ { "name": "tensorflowk8s-dashboard", "version": "0.1.0", - "description": "Dashboard for tensorflow/k8s.", + "description": "Dashboard for kubeflow/tf-operator.", "private": true, "dependencies": { "lodash": "^4.17.4", diff --git a/dashboard/frontend/public/index.html b/dashboard/frontend/public/index.html index 5e4046beab..bc190d67d1 100644 --- a/dashboard/frontend/public/index.html +++ b/dashboard/frontend/public/index.html @@ -18,7 +18,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> -