pipelines/backend
Windfarer f61048b5d2
fix(scheduledworkflow): Set location to make CRON timezone work, Fixes #2653 (#5800)
* set location

* update log

* fix log

* install tzdata
2021-06-07 05:19:51 -07:00
..
api chore(release): bumped version to 1.6.0 2021-05-24 13:36:51 +08:00
metadata_writer feat: update MLMD to 1.0.0 (#5786) 2021-06-03 10:34:36 -07:00
src fix(scheduledworkflow): Set location to make CRON timezone work, Fixes #2653 (#5800) 2021-06-07 05:19:51 -07:00
test Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
Dockerfile feat: update argo image to v2.12.9 and automate update process. Fixes #5232 (#5266) 2021-03-10 12:52:42 +08:00
Dockerfile.cacheserver fix(backend): updated the argo version too 2.7.7. Fixes #4392 (#4498) 2020-10-22 17:09:36 -07:00
Dockerfile.persistenceagent fix(backend): updated the argo version too 2.7.7. Fixes #4392 (#4498) 2020-10-22 17:09:36 -07:00
Dockerfile.scheduledworkflow fix(scheduledworkflow): Set location to make CRON timezone work, Fixes #2653 (#5800) 2021-06-07 05:19:51 -07:00
Dockerfile.viewercontroller skip storing log to files (#1788) 2019-08-10 11:20:26 -07:00
Dockerfile.visualization Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
OWNERS chore: add capri-xiyue as backend reviewer (#4964) 2021-01-06 19:11:45 -08:00
README.md fix(backend): remove Bazel from building the API. Part of #3250 (#4906) 2021-02-16 16:58:30 -08:00
requirements.in fix: upgrade tfx samples & deps to 0.27.0. Part of #5137 (#5176) 2021-02-24 20:09:15 +08:00
requirements.txt fix: upgrade tfx samples & deps to 0.27.0. Part of #5137 (#5176) 2021-02-24 20:09:15 +08:00
update_requirements.sh Upgrade tfx version to 0.26.0 in backend (#5052) 2021-01-28 17:49:01 -08:00

README.md

This directory contains code for the components that comprise the Kubeflow Pipelines backend.

Building & Testing

To run all unittests for backend:

go test -v -cover ./backend/...

The API server itself can be built using:

go build -o /tmp/apiserver backend/src/apiserver/*.go

Building APIServer image locally

The API server image can be built from the root folder of the repo using:

export API_SERVER_IMAGE=api_server
docker build -f backend/Dockerfile . --tag $API_SERVER_IMAGE

Deploy APIServer with the image you own build

Run

kubectl edit deployment.v1.apps/ml-pipeline -n kubeflow

You'll see the field reference the api server docker image. Change it to point to your own build, after saving and closing the file, apiserver will restart with your change.

Building client library and swagger files

After making changes to proto files, the Go client libraries, Python client libraries and swagger files need to be regenerated and checked-in. Refer to backend/api for details.

Visualization Server Instructions

Updating python dependencies

pip-tools is used to manage python dependencies. To update dependencies, edit requirements.in and run ./update_requirements.sh <requirements.in >requirements.txt to update and pin the transitive dependencies.