Commit Graph

31 Commits

Author SHA1 Message Date
Riley Bauer 8d196d4dec Adds Metadata Artifacts to UI (#2057)
* Working, though the request seems malformed

* Working with grpc-web. trying to push to cluster

* WIP

* With great hax come great success

* Begin moving some metadata UI pages to KFP

* Artifact list and details pages work! A lot of clean up is needed. Look for console.log and TODO

* Clean up

* Fixes filtering of artifact list

* More cleanup

* Revert ui deployment

* Updates tests

* Update envoy deployment
2019-09-06 13:19:19 -07:00
Kirin Patel 32ed27a98f Add endpoint to allow custom visualizations (#1931)
* Added support for custom visualizations to the VisualizationCreator component

* Add support for enabling/disabling custom visualizations

* Added mock-backend support for new api endpoint

* Changed allowCustomVisualization to be a prop
2019-08-26 14:22:37 -07:00
Eterna2 af456bcc61 [front-end-server] Allow viewer:tensorboard podTemplateSpec to be customizable (#1906)
* Allow front-end server to provide custom viewer podTemplateSpec via path/configmap

* Fix JSON.parse input to string
2019-08-22 11:08:33 -07:00
hongye-sun c5418fdb46 Fix github security alert. (#1798) 2019-08-11 14:25:10 -07:00
jingzhang36 22ccc91538 Set user credentials when creating viewer object (#1603)
* Specify user credentials properly in our viewer crd.

* remove unnecessary import
2019-07-09 14:02:26 -07:00
jingzhang36 bf6fee9bbb Add a helper function to create tensorboard crd (#1237)
* Add a helper function to create a tensorboard crd.

* Add a helper function to create a tensorboard crd.

* Remove optional parameter "pretty".

* Reuse constants when possible

* createTensorboardInstance, getTensorboardInstance, waitForTensorboardInstance

* Revise getTensorboardHandler and createTensorboardHandler to use getTensorboardInstance
and createTensorboardInstance

* remove trailing spaces

* Fix comment

* Ajust paremeter values.

* stringfy error objects; change 'plural' to 'viewer'

* Change 'plural' to 'viewers'

* Use derived namespace (instead of hardcoded kubeflow) to create viewer
 CRD. Derive viewer CRD's name from log dir.

* Adjust local dns

* Add GCP credentials for viewer resource.

* Address pr reviews

* auto formatting

* 1. viewer controller propagates credentials when creating pod
2. set credentials in viewer crd

* Put credentials info in PodTemplateSpec

* Cleanup not-to-be-included changes.

* Empty line

* Formatting

* Remove a duplicate include

* add crypto-js dependency

* Add path prefix

* Update k8s-helper.ts

* (1) set viewer service port be 6006 (2) trailing / is required for tensorboard path

* Remove url address encoding

* Remove an accidental change

* Formatting

* Add comment and TODO

* Change 6006 back to 80

* Remove deprecated functions from k8shelper. Revise some comments.

* Use getNamespacedCustomobject

* Try to fix unit test for the tensorboard.tsx change

* Re-arrange func order

* Polish comments

* When there is no existing tensorboard, GetNamespacedCustomObject's promise is reject, and in case of that reject, use ''
2019-06-20 13:00:36 -07:00
Riley Bauer 918f197c0e Updates Google Cloud Storage and pins axios version (#1415)
* Updates Google Cloud Storage and pins axios version

* Small fix
2019-06-03 18:07:01 -07:00
Eran Nussbaum 2da723c2fa Add HTTP/HTTPS support in FE (#1339)
* Add HTTP/HTTPS support in FE

* Fix typo (HTTP instead of HTTPS)
2019-05-19 21:41:11 -07:00
Eterna2 4eeeb6e224 [Frontend] minio client in API server can be configured with environment variables (#1324)
* kfp frontend API service can configure minio client params thru env vars

* minio endpoint is composed from host and namespace to support k8s yaml

* Added kustomize patch for pipeline-ui deploy
2019-05-14 17:38:18 -07:00
Riley Bauer 1ab4315d0d Shows link to Stackdriver logs if logs retrieval fails and cluster is running in GKE (#1310)
* Shows link to Stackdriver logs if logs retrieval fails and cluster is running in GKE

* Add additional link for new k8s stackdriver resource names

* Fix spacing
2019-05-13 12:35:10 -07:00
Jiaxin Shan 5c850b92b1 Frontend - Add support for artifacts stored in S3 (#1278)
* Add s3 and local support for artifact viewer

* Remove local file support and use ViewerCRD instead

* Fix condition failed tests

* Keep using minio for metadata manifests
2019-05-06 13:47:42 -07:00
Riley Bauer 4de20179c6 Update to version 3.0.2 of npm package 'extend' (#1211)
* Update to version 3.0.2 of npm package 'extend'

* Use 'new' with Storage
2019-04-24 10:24:10 -07:00
Riley Bauer f07d578d64
Updates frontend to Typescript to 3.3.1 (#772)
* Updates Typescript to 3.3.1 and updates code around CustomTable customRenderer to make better use of FunctionComponent typings

* Remove extra afterEach from merge

* Further merge clean-up
2019-02-14 11:54:45 -08:00
Yasser Elsayed 603597d65b Archive runs UI (#748)
* update ts definitions from swagger

* fix case

* Update run.go

* storageState -> storage_state

* storageState -> storage_state

* wip mock backend changes, need to use filter for storagestate

* filter_by -> filter, remove options handlers

* show only available runs, mock middleware support

* add basic Archive page with runs

* fixes, added button to sidenav

* fix generated ts filter-related changes in definitions

* storageState -> storage_state

* fix after rebase

* cleanup

* use notequals archived instead of equals available

* augment runs request filter with storage state

* fix tests

* treat available runs as unarchived

* refactor buttons to separate file

* experiment details buttons, remove test console log

* cleanup

* added actions to Buttons module

* tests

* cleanup

* add messages to dialogs

* add archive/restore button to run details

* archive breadcrumb

* mention run will not stop when archiving

* pr comments
2019-02-13 13:50:12 -08:00
Riley Bauer 600acbdd23
Updates lodash to version 4.17.11 (#803)
* Pin lodash version

* Commit updated package-locks
2019-02-13 10:40:21 -08:00
Riley Bauer 2158d23279 Updates material-ui and react npm libraries (#630)
* Updates material-ui and react npm libraries

* Update failing BusyButton snapshots

* Reduce material-ui version to 3.7.1 to avoid known issue with 3.8.1
2019-01-04 16:07:44 -08:00
Riley Bauer 10c009d431 Stops k8s-helper from crashing when pod has no logs (#540) 2018-12-14 17:24:49 -08:00
Yasser Elsayed 76bcd1ac85 return string from pod logs (#476) 2018-12-04 23:15:18 -08:00
Riley Bauer f59c226bfe Disables back button when there is no history (#377)
This can happen whenever a user opens up a page from a URL.

A common way to hit this is to create a run from a notebook and click the link to see it in the UI.
2018-11-26 12:09:39 -08:00
Yasser Elsayed d313a9c623 PipelineDetails cleanup (#350)
* refactor out selected node info

* refactor details table title

* refactor out side panel

* cleanup

* pr comments
2018-11-21 12:02:04 -08:00
Yasser Elsayed 003a8c8d11
Use latest npm and node on travis, fix tests (#317)
* use latest npm, node

* fix tests
2018-11-19 15:40:59 -08:00
Yang Pan 24d69cbb81 Update tensorboard spec (#283)
- Use generateName instead of name
- remove selector
2018-11-15 22:34:35 -08:00
Yasser Elsayed c9152fe685 upgrade @kubernetes/client-node (#271) 2018-11-15 16:51:27 -08:00
Yang Pan 775bfcb3e1 attach service account to tensorboard pod (#273) 2018-11-14 19:03:54 -08:00
Riley Bauer 4550513ed0 Adds NewRun tests (#242)
* Adds tests for the NewRun page

* Add more tests

* Adds many more tests, cleans-up PipelineSelector a bit, and fixes bug in Utils.ts

* Update create run button ID in e2e test

* Test clean-up and PR comments
2018-11-14 16:31:21 -08:00
Yang Pan 69f8034ac6 add tensorboard routing rule (#143)
* add tensorboard routing rule

* rename tb routing rule

* address comments

* remove debugger

* fix url prefix
2018-11-07 17:50:37 -08:00
Ajay Alfred 80eceae867 CSS changes for nav menu and tables (#99) 2018-11-06 12:40:43 -08:00
Yasser Elsayed e6dbfacf06 PipelineList tests, fix clearing error banner (#50)
* wip pipeline list tests

* wip pipeline list tests

* more tests

* delete tests

* upload tests, safe setstate

* cleanup

* merge master

* pr comments

* pr comments

* add missing clearBanner in a bunch of places
2018-11-05 19:54:40 -08:00
Riley Bauer 153f61aefb Adds the Kubeflow logo to the side nav. Fetches specific font weights (#48)
* Adds the Kubeflow logo to the side nav, and fetches specific font weights

* Change favicon and webpage title

* Updates 'Pipelines' icon
2018-11-05 16:32:10 -08:00
Pascal Vicaire d18f37785d Updating references to the project repository to kubeflow/pipelines. 2018-11-02 15:06:54 -07:00
Pascal Vicaire 633e2ddcc8 Initial commit of the kubeflow/pipeline project. 2018-11-02 14:02:31 -07:00