Commit Graph

16 Commits

Author SHA1 Message Date
Jiaxiao Zheng 32ce8d8f90
feat(api): Add AI Platform Custom Job spec to IR (#5035) 2021-01-26 04:18:00 -08:00
Chen Sun 273890ad0b
Bump kfp-pipeline-spec version to 0.1.4 (#4982) 2021-01-14 10:05:05 -08:00
hilcj bb0f33054c
feat(backend): sync pipeline_spec.proto (#4927)
Add control flow features to the pipeline_spec.proto.
2020-12-21 13:52:26 -08:00
Jiaxiao Zheng 04d5e609f2
chore: Bump kfp-pipeline-spec to 0.1.3.1 (#4882)
* bump to 0.1.3.1

* remove negative pin
2020-12-09 21:06:53 -08:00
Jiaxiao Zheng 3cc4a7add5
chore: add OWNER file to api folder (#4883) 2020-12-09 19:34:53 -08:00
Jiaxiao Zheng ee85ed563c
[IR] Add deployment spec to IR spec. (#4881)
* add deployment spec

* update version string
2020-12-09 11:46:54 -08:00
DavidSpek 0df9473bba
feat: Set current namespace for in-cluster SDK in multi-user mode and add healthz endpoint to API backends (#4638)
* Set current namespace in local KFP context if running from notebook

* Create "~/.config/kfp/" instead of ".config/kfp/"

At first it was assumed the `get_user_namespace` command would be executed from the home directory.

* Create local context file if it doesn't exist during set_user_namespace

* Grab path from LOCAL_KFP_CONTEXT when creating folder

Instead of harcoding the os.mkdirs path to `~/.config/kfp` it now grabs it from the LOCAL_KFP_CONTEXT. Also, removed path creation in `get_user_namespace` as that is now handled in `set_user_namespace`. Also, it now checks if the path exists rather than the local_context_file to remove the situation where it tries to create ~/.config/kfp/ because the context.json doesn't exist when the path does.

* add multi-user setting to healthz api

* Add http prefix to health api url

* move healtz api call to own function and fix multi_user boolean

* Fix HEALTH_PATH declaration

* Move check to Client __init__ and change get_kfp_healthz to avoid breaking in case of old apiserver image

* Add multi_user to frontend healthz

* Expose multi_user in frontend and add integration test

* Fix integration test

* Fix host hardcoding and error handling

* Handle empty API response, check if API up to date

* Fix response return

* remove API check due to empty response

* retry API call if first response empty

* retry getting healthz api if no response

* change health_api to https

The healthz_api has been returning empty responses which might be caused by sending an http request to an https endpoint. Although requests handles redirects, this commit is to test if this solves the issue.

* Add some debug info to healthz exception

* add url to debug and lower retries to 1

* Use api_client to get healthz data

* Debug info for API response

* Follow API redirect history

* Fix indentation

* Add healthz proto

* Try getting healthz api with new python backend

* Add installation of kfp_server_api in tests

* Fix incorrect setup location

* Replace old .get with new http backend .multi_user

* Code clean up

* Small fixes and TimeOutError for retries healthz api

* Remove changes to go dependencies

* Send empty proto request and fix exception client

* Remove unused commit_sha and tag_name
2020-11-24 15:36:39 -08:00
Jiaxiao Zheng f140ddb679
chore: Add resolver spec in IR (#4759)
* add resolver spec

* update version

* update version again
2020-11-11 18:07:41 -08:00
Chen Sun c9546970d5
chore: package pipeline spec into a standalone Python package (#4744)
* package pipeline spec into a standalone Python package

* add metadata

* bump up version

* convert to namespace package

* version to 0.1.0
2020-11-10 15:33:41 -08:00
Chen Sun 82b1ed4d17
chore(sdk): v2 compiler compiles to pipeline job spec (#4729)
* fix proto

* compile to pipeline job spec

* make pipeline_root required

* address comments
2020-11-06 15:05:38 -08:00
Jiaxiao Zheng 655c42d423
chore: Add pipelineJob to IR spec (#4720)
* add job to IR

* add generated proto_py

* make comments concise
2020-11-05 16:20:50 -08:00
Yuan Gong 7d36f48482 chore(release): bumped version to 1.1.0-alpha.1 2020-11-02 03:01:27 +00:00
Jiaxiao Zheng c4dd7871a6
chore: Support resource spec in v2 compiler (#4669)
* skeleton of code

* commit resource spec in IR proto

* add resource setter

* add accelerator setters

* fix unit conversion

* fix attribute proxy

* add and fix unittests

* add e2e test

* clean up

* clean up

* clean up

* clean up

* bypass subclass overriding

* clean up

* clean up

* clean up

* resolve comments
2020-10-26 16:40:02 -07:00
Chen Sun 72ce138253
Update IR ExecutorOutput message to use ArtifactList for artifacts field. (#4619)
* Update IR ExecutorOutput message

* fix a typo
2020-10-12 23:10:27 -07:00
Chen Sun 629a980cfd
Update ImporterSpec artifact_uri type (#4548) 2020-09-28 17:07:25 -07:00
hongye-sun d8e82602b0
Pipeline IR (#4371)
* add pipeline spec api proto

* Update pipeline_spec.proto

Add the schema of the pipeline spec.

* Update pipeline_spec.proto

Update the component I/O interfaces and renamed several places.

* Update pipeline_spec.proto

Minor comment and name changes.

* Move the IR into v2alpha1 folder
2020-09-23 14:33:08 -07:00