pipelines/backend
David Xia 73f9b14515
docs(backend): fix incorrect maxNumViewers help text (#6752)
maxNumViewers is per namespace not entire cluster.
[This PR](https://github.com/kubeflow/pipelines/pull/1623/files#diff-36da225a16f9c6742cee006c2554b6ef6836c9ab2b509a5169b5d3a4acc36977)
changed the scope from cluster to namespace.
2021-11-03 01:00:06 -07:00
..
api chore(release): bump version to 1.7.1 on master branch (#6842) 2021-11-01 21:39:59 -07:00
metadata_writer feat: upgrade MLMD to 1.2.0. Fix #6436 (#6437) 2021-08-28 16:59:22 -07:00
src docs(backend): fix incorrect maxNumViewers help text (#6752) 2021-11-03 01:00:06 -07:00
test feat(v2): V2 create run api (#6689) 2021-10-28 21:53:51 -07:00
third_party_licenses feat(v2): V2 create run api (#6689) 2021-10-28 21:53:51 -07:00
Dockerfile feat: upgrade argo to v3.1.14 (#6809) 2021-10-28 15:17:51 -07:00
Dockerfile.cacheserver chore: check and comply with go mod licenses when building images. Fixes #4715 (#5908) 2021-06-25 05:48:53 -07:00
Dockerfile.persistenceagent chore: check and comply with go mod licenses when building images. Fixes #4715 (#5908) 2021-06-25 05:48:53 -07:00
Dockerfile.scheduledworkflow chore: check and comply with go mod licenses when building images. Fixes #4715 (#5908) 2021-06-25 05:48:53 -07:00
Dockerfile.viewercontroller chore: check and comply with go mod licenses when building images. Fixes #4715 (#5908) 2021-06-25 05:48:53 -07:00
Dockerfile.visualization feat: upgrade TFX to 1.2.0 (#6375) 2021-08-18 01:50:37 -07:00
Makefile fix(frontend): TFX artifact visualization update. Fix tensorflow/tfx#3933 (#5999) 2021-07-13 12:47:58 -07:00
OWNERS chore: add capri-xiyue to backend OWNERS (#5874) 2021-06-20 21:10:16 -07:00
README.md feat: upgrade TFX to 1.2.0 (#6375) 2021-08-18 01:50:37 -07:00
requirements.in feat: upgrade MLMD to 1.2.0. Fix #6436 (#6437) 2021-08-28 16:59:22 -07:00
requirements.txt feat: upgrade MLMD to 1.2.0. Fix #6436 (#6437) 2021-08-28 16:59:22 -07:00
update_requirements.sh feat: upgrade TFX to 1.2.0 (#6375) 2021-08-18 01:50:37 -07: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.

Updating licenses info

  1. Install go-licenses tool from https://github.com/Bobgy/go-licenses/releases, and refer to its documentation for how to use it.

  2. Run the tool to update all licenses:

    make all
    

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 to update and pin the transitive dependencies.