Граф коммитов

2538 Коммитов

Автор SHA1 Сообщение Дата
amitmukati-2604 36b8574191
Adding support for linux/ppc64le in CI for tensorboard-controller multi-arch docker images. (#6805) 2022-12-09 09:15:11 +00:00
adilhusain-s 1c98570d04
Adding support for linux-ppc64le in CI for admission-webhook multi-arch docker image (#6803) 2022-12-08 16:09:10 +00:00
apoger 143fd08734
Cherry-pick commits for using DockerHub for all images (#6825)
cherry-picking: #6548
* Update all images to use DockerHub
* Update releasing script for dockerhub

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
Cherry-picked-by: Apostolos Gerakaris <apoger@arrikto.com>

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
Co-authored-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
2022-12-08 15:37:10 +00:00
amitmukati-2604 95196de160
Adding support for linux/ppc64le in CI for jupyter-web-app multi-arch… (#6800) 2022-12-08 13:09:10 +00:00
adilhusain-s ed9d908a77
Adding support for linux-ppc64le in CI for profile-controller (#6809) 2022-12-07 17:05:36 +00:00
Orfeas Kourkakis 0b03b8e338
vwa: Update cluster role to list notebooks (#6808)
Update manifests for volumes-web-app-cluster-role to be able to list
notebooks in kubeflow.org.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>
2022-12-07 17:04:37 +00:00
adilhusain-s 3cdfb8a5c0
Adding support for linux-ppc64le in CI to release multi-arch docker image volumes-web-app (#6811) 2022-12-07 16:59:36 +00:00
Orfeas Kourkakis a941643262
vwa: Add EVENTS tab to Volume details page (#6806)
* vwa(front): Fix tests symLinks to Kubeflow common code

Add field preserveSymLinks in angular.json in order to link to
Kubeflow common library during tests.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* vwa(front): Fix unit tests failing

Fix unit tests failing for the following components: app, index,
index-default, index-rok, form-default, form-rok

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* vwa(front): Add delete button to Volume details page

In this commit:
 - Add button for Delete action.
 - Create Actions Service to handle delete action and implement it in
   all components that use it.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* vwa(back): Get a PVC's events

Add logic in the backend to fetch the events of a PVC.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* vwa(front): Add EVENTS tab to Volume details page

Add Events tab to show the available events of the pvc in the form
of a table, in order to help a user with debugging the pvc.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* vwa(front): fix linting errors

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>
2022-12-07 16:58:37 +00:00
Elena Zioga 539f497b1a
jwa(front): Fix unit tests (#6804)
* jwa(front): Rename form-default component

Signed-off-by: Elena Zioga <elena@arrikto.com>

* jwa(front): Create missing module files

Signed-off-by: Elena Zioga <elena@arrikto.com>

* jwa(front): Remove form-rok and form components

Signed-off-by: Elena Zioga <elena@arrikto.com>

* jwa(front): Update JWA's @angular/common package

Signed-off-by: Elena Zioga <elena@arrikto.com>

* jwa(front): Modify rok-url component

Signed-off-by: Elena Zioga <elena@arrikto.com>

* web-apps(front): Add Rok URL message

Signed-off-by: Elena Zioga <elena@arrikto.com>

* vwa(front): Update VWA's @angular/common package

Signed-off-by: Elena Zioga <elena@arrikto.com>

* vwa(front): Remove the headers request

Remove the headers request since the common code implements it.

Signed-off-by: Elena Zioga <elena@arrikto.com>

* jwa(front): Fix JWA's unit tests

Fix JWA's unit tests.

Signed-off-by: Elena Zioga <elena@arrikto.com>

* gh-actions: Add GH action to run JWA unit tests

Signed-off-by: Elena Zioga <elena@arrikto.com>

* jwa(build): Update Dockerfile

Update Dockerfile to not build Rok.

Signed-off-by: Elena Zioga <elena@arrikto.com>

Signed-off-by: Elena Zioga <elena@arrikto.com>
2022-12-07 12:49:38 +00:00
Orfeas Kourkakis 1ac1b9c8d9
gh-actions: Add GH actions for centraldashboard-angular (#6786)
* centraldashboard-angular(back): Fix coverage script

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* centraldashboard-angular(front): Introduce test,format & lint changes

 - Introduce linting files
 - Fix unit tests failing
 - Introduce coverage script
 - Introduce format check using Prettier

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* centraldashboard-angular(front): Format files using prettier

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* gh-actions: Add GH actions for centraldashboard-angular

 - Add CentralDashboard-angular Backend check GH action that runs:
    - unit tests
    - TSlint
 - Add CentralDashboard-angular Frontend check GH action that runs:
    - unit tests
    - format check
 - Modify Frontend Lint GH action to lint CentralDashboard-angular
   frontend

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* centraldashboard-angular(front): Add Eslint

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* fixup! gh-actions: Add GH actions for centraldashboard-angular

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>
2022-12-07 11:53:36 +00:00
adilhusain-s 0f49331f0b
Adding support for linux-ppc64le in CI for kfam multi-arch docker image (#6785) 2022-12-06 04:45:10 +00:00
Orfeas Kourkakis bffbd658b9
jwa(front): Add YAML tab to Notebook details page (#6790)
Add tab to show the full YAML both from the Notebook and from its
underlying pod, when there is one.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>
2022-12-05 10:28:08 +00:00
Orfeas Kourkakis 903cf287ab
VWA: Create Volume details page (#6788)
* vwa(back): Get a single PVC and the pods using it

Add logic in the backend to fetch a single PVC and the pods using
it.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* vwa(front): Create Volume details page with OVERVIEW tab

Create OVERVIEW tab to show key information about the PVC.

* vwa(front): Format files

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>
2022-12-05 10:27:08 +00:00
dependabot[bot] 1ee4163fc5
build(deps): bump engine.io and socket.io in /components/crud-web-apps/volumes/frontend (#6758)
Bumps [engine.io](https://github.com/socketio/engine.io) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together.

Updates `engine.io` from 6.1.3 to 6.2.1
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.1.3...6.2.1)

Updates `socket.io` from 4.4.1 to 4.5.3
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.4.1...4.5.3)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 10:17:08 +00:00
dependabot[bot] af60799a62
build(deps): bump engine.io and socket.io in /components/crud-web-apps/common/frontend/kubeflow-common-lib (#6756)
Bumps [engine.io](https://github.com/socketio/engine.io) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together.

Updates `engine.io` from 6.1.3 to 6.2.1
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.1.3...6.2.1)

Updates `socket.io` from 4.4.1 to 4.5.3
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.4.1...4.5.3)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 10:16:08 +00:00
dependabot[bot] e62dcc62a2
build(deps): bump tensorflow from 2.5.3 to 2.9.3 in /components/example-notebook-servers/jupyter-tensorflow (#6755)
Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 2.5.3 to 2.9.3.
- [Release notes](https://github.com/tensorflow/tensorflow/releases)
- [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md)
- [Commits](https://github.com/tensorflow/tensorflow/compare/v2.5.3...v2.9.3)

---
updated-dependencies:
- dependency-name: tensorflow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 10:15:08 +00:00
Elena Zioga d561429847
web-apps: Create .gitignore file to ignore web-apps-dev files (#6789)
Create a .gitignore file to ignore web-apps-dev files generated
during the virtual env creation.

Signed-off-by: Elena Zioga <elena@arrikto.com>

Signed-off-by: Elena Zioga <elena@arrikto.com>
2022-12-02 14:19:17 +00:00
adilhusain-s 80f695e4f1
Adding multi-arch support for linux-ppc64le in CI for notebook-controller (#6771) 2022-12-02 13:32:17 +00:00
Orfeas Kourkakis 7b70768100
jwa: Add EVENTS tab to Notebook details page (#6782)
* jwa(back): Get a notebook's events

 - Add logic in the backend to fetch the events of a notebook.
 - Fix the authorization parameters in the get_notebook_events
   function.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* jwa(front): Add EVENTS tab to Notebook details page

Add Events tab to show the available events of the notebook in the
form of a table, in order to help a user with debugging the
notebook.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>
2022-12-01 16:25:45 +00:00
Orfeas Kourkakis 86fd01918c
centraldashboard-angular: Create Docker and Make files (#6781)
* centraldashboard: Create Docker and Make files

Create Dockerfile and Makefile for building the new centraldashboard's
container.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* Add GH Action to build Centraldashboard-angular image

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>
2022-12-01 12:15:44 +00:00
Orfeas Kourkakis 91c73bf564
jwa(front): Add LOGS tab to the notebook details page (#6779)
* jwa(back): Get a notebook's logs

Add logic in the backend to fetch the logs of a notebook's
underlying pod.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* jwa(front): Add LOGS tab to Notebook details page

 - Create Logs tab to show the logs of the notebook's underlying
   pod.
 - Create Logs Viewer component in Kubeflow common library exactly
   like the one we have in MWA.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>
2022-11-29 15:28:42 +00:00
Orfeas Kourkakis 25db5162a7
jwa: Update manifests to access Pods and Pods/log (#6780)
As part of the effort for the new Notebook details page in JWA, update
the manifests for jwa's cluster role in order to list resources pods and
get pods/log.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>
2022-11-29 13:36:44 +00:00
Kimonas Sotirchos 858df90748
web-apps: Add support for all-namespaces in the Volumes and TensorBoards web apps (#6778)
* vwa(front): Support all-namespaces

The VWA will now be able to work with the "All namespaces" option of
the CentralDashboard.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* twa(front): Support all-namespaces

The TWA will now be able to work with the "All namespaces" option of
the CentralDashboard.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* wa(front): Add cypress attributes

Add more attributes for elements to be selectable when running e2e
tests.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* jwa(e2e): Add e2e tests for all-namespaces

Add a new e2e test that checks if the Namespaces column is shown
when selecting all-namespaces.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* dashboard: Allow all-namespaces for vwa/twa

The dashboard will be allowing the VWA and TWA to work with
all-namespaces, now that we added this functionality.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
2022-11-29 10:56:43 +00:00
Orfeas Kourkakis 6b899b2ad9
jwa(front): Create distinct notebook details page (#6769)
* jwa(back): Get a single notebook and its pod

In this commit:

 - Add logic in the backend to fetch a single notebook and its
   underlying pod.
 - Make list_pods function in Kubeflow common code to accept a
   label_selector parameter and use it to filter out results when
   available.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* jwa(front): Create Notebook details page with OVERVIEW tab

In this commit:

 - Create OVERVIEW tab to show key information about the notebook
   and its underlying pod.
 - Create Content List Item component in Kubeflow commonn library to
   be able to encapsulate any content/component in the form of a
   list item.
 - Create Variables Group component in Kubeflow common library to
   show groups of variables in the form of chips.
 - Small UI tweak in Details list Item component from Kubeflow
   common library in order to stop chips from overlapping with each
   other.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* Fix linting errors

* Include Kubeflow common library's new package-lock.json

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* jwa(front): Replace pod conditions with notebook status conditions

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* web-apps(back): Backend fetch pods fix

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>
2022-11-29 08:17:42 +00:00
dependabot[bot] d724167721
build(deps): bump loader-utils from 1.4.1 to 1.4.2 in /components/crud-web-apps/jupyter/frontend (#6748)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 18:02:16 +00:00
dependabot[bot] bfec00bb4d
build(deps): bump loader-utils from 1.4.1 to 1.4.2 in /components/crud-web-apps/tensorboards/frontend (#6747)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 11:29:13 +00:00
dependabot[bot] 5e78a07fe1
build(deps): bump loader-utils from 1.4.1 to 1.4.2 in /components/crud-web-apps/common/frontend/kubeflow-common-lib (#6746)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 11:28:14 +00:00
Orfeas Kourkakis c7a0076826
centraldashboard: Introduce new frontend project in Angular (#6776)
* Create new frontend project using angular/cli@12

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* Introduce basic navigation structure

Using Material's navigation schematic, create main page with a sidenav
menu and a toolbar.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* Configure proxy for /jupyter and /pipeline routes

Configure proxy.conf.json file in order to proxy /jupyter and /pipeline
routes to certain ports so the developer can port-forward requests from
each port to the corresponding Kubernetes service.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

* Add iframe in main-page for testing purposes.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>
2022-11-28 11:15:14 +00:00
dependabot[bot] a3acb437e4
build(deps): bump tensorflow-gpu from 2.5.0 to 2.9.3 in /components/example-notebook-servers/jupyter-tensorflow (#6764)
Bumps [tensorflow-gpu](https://github.com/tensorflow/tensorflow) from 2.5.0 to 2.9.3.
- [Release notes](https://github.com/tensorflow/tensorflow/releases)
- [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md)
- [Commits](https://github.com/tensorflow/tensorflow/compare/v2.5.0...v2.9.3)

---
updated-dependencies:
- dependency-name: tensorflow-gpu
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 11:14:13 +00:00
dependabot[bot] 6c910e0fbf
build(deps): bump engine.io and socket.io in /components/crud-web-apps/jupyter/frontend (#6759)
Bumps [engine.io](https://github.com/socketio/engine.io) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together.

Updates `engine.io` from 6.1.3 to 6.2.1
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.1.3...6.2.1)

Updates `socket.io` from 4.4.1 to 4.5.3
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.4.1...4.5.3)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 11:13:14 +00:00
dependabot[bot] 3fa28d17a7
build(deps): bump engine.io and socket.io in /components/crud-web-apps/tensorboards/frontend (#6757)
Bumps [engine.io](https://github.com/socketio/engine.io) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together.

Updates `engine.io` from 6.1.3 to 6.2.1
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.1.3...6.2.1)

Updates `socket.io` from 4.4.1 to 4.5.3
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.4.1...4.5.3)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 11:12:14 +00:00
Orfeas Kourkakis d425aae222
jwa(front): Use new Editor component (#6775)
Import new Editor component from Kubeflow Common Library and replace
all instances of previous Ace Editor.

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>

Signed-off-by: Orfeas Kourkakis <orfeas@arrikto.com>
2022-11-28 10:23:14 +00:00
Elena Zioga 2b4cc42e11
web-apps(front): Changes needed for trials table (#6768)
* web-apps(front): Import @types/lodash package

Import @types/lodash package to support type definitions.

Signed-off-by: Elena Zioga <elena@arrikto.com>

* web-apps(front): Changes needed for trials table

In this commit:

- Adjust filtering tooltip to expose info only for the existing
  columns.
- Extend table component to be able to highlight a row.
- Fix autocomplete dropdown bug.

Signed-off-by: Elena Zioga <elena@arrikto.com>

Signed-off-by: Elena Zioga <elena@arrikto.com>
2022-11-25 13:46:11 +00:00
Orfeas Kourkakis 1f0d43c9dc
centraldashboard: Decouple backend and frontend (#6765)
* Create centraldashboard-angular directory

Create centraldashboard-angular directory and copy inside backend
subfolder the following folders:
 - app
 - config
 - types

* Introduce the following files in centraldashboard-angular directory.

 - OWNERS
 - README.md
 - .eslintignore
 - .eslintrc.json
 - .gitignore
 - .nycrc
 - package-lock.json
 - package.json
 - tsconfig.json
 - tslint.jsoni
2022-11-25 13:39:11 +00:00
Mathew Wicks 1610b25e3a
fix setting readOnly on gpus (#6735) 2022-11-24 12:34:10 +00:00
apoger a2612f27b2
Use K8s 1.25 for the tests (#6751)
* kind: Introduce config file for 1.25

* Add a new KinD configuration file for testing with K8s 1.25.3
* Install kind v0.17.0 for testing with K8s 1.25.3

Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com>

* gh-actions: Use 1.25 for testing

Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com>

* testing: Install Istio 1.16 for testing

Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com>

* Test commit for enabling the tests

Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com>

* notebook-controller: Fix Makefile

Remove the test rule as a prerequisite for running docker-build

Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com>

Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com>
2022-11-24 08:30:10 +00:00
Orfeas Kourkakis 65298ad04d
centraldashboard: Fix how the app is ran locally (#6753)
* centraldashboard: Fix how the app is ran locally

Fix proxies and instructions in order to run the app locally.

* README.md fix
2022-11-24 07:17:10 +00:00
Elena Zioga be90c7c776
Upgrade @angular/material in WAs (#6763)
* jwa(front): Upgrade @angular/material package (#6462)

* Upgrade @angular/material package to align the mat-chip x button.

Signed-off-by: Elena Zioga <elena@arrikto.com>

* vwa(front): Upgrade @angular/material package (#6462)

* Upgrade @angular/material package to align the mat-chip x button.

Signed-off-by: Elena Zioga <elena@arrikto.com>

* twa(front): Upgrade @angular/material package (#6462)

* Upgrade @angular/material package to align the mat-chip x button.

Signed-off-by: Elena Zioga <elena@arrikto.com>

Signed-off-by: Elena Zioga <elena@arrikto.com>
2022-11-23 15:06:43 +00:00
Elena Zioga f94d5f7458
web-apps(front): Enable sorting in namespace column (#6762)
Enable sorting in namespace column.

Signed-off-by: Elena Zioga <elena@arrikto.com>

Signed-off-by: Elena Zioga <elena@arrikto.com>
2022-11-23 14:02:43 +00:00
Elena Zioga 22545c8793
Filtering support for the web apps (#6754)
* web-apps(front): Add filtering functionality in WAs (#6462)

* Add filtering functionality in the common table component.

Signed-off-by: Elena Zioga <elena@arrikto.com>

* jwa(front): Differentiate type property (#6462)

* Differentiate type property from other ComponentValue properties.

Signed-off-by: Elena Zioga <elena@arrikto.com>

Signed-off-by: Elena Zioga <elena@arrikto.com>
2022-11-23 13:44:43 +00:00
Pranav Pandit 51fe34fb99
updated compatible base images & removed arch dependencies in different components for multiple arch support (#6650)
* updated base images in Volume Web component for multiple arch

* updated base images in Tensorboard Web component for multiple arch

* updated base images in Jupyter Web component for multiple arch

* updated admission webhook component for multiple arch

* removed goarch depedency for multiarch building

* removed goarch depedency for multiarch building in admission webhook component

* removed goarch depedency & added powerPC case for multiarch building in access-management component

* removed goarch depedency for multiarch building in tensorboard controller

* removed goarch depedency for multiarch building in notebook Controller

* Removing empty computation to resolve future build issues
2022-11-23 13:42:42 +00:00
Josh Bottum 5961e641a0
Public roadmap update for v1.7 (#6705)
* Public roadmap update for v1.7

Updates to the v1.7 roadmap items.  Please review and provide comments and/or looks good.   thanks.

@johnugeorge @kimwnasptd @DomFleischmann @zijianjoy

* remove data exchange from TO to KFP

this feature is not in 1.7

* updated Katib and TO feature candidates in v1.7

per Andrey, I added, "Simplified creation of Katib and Training Operator experiments using SDKs" and removed the reference to simplified data exchange from Katib to KFP

* add katib candidates (sorting, filtering, logs)

Line 13, added 3 katib feature candidates

* moved the training operator feature

moved TO feature under Katib features, so that katib features would be sequentially listed.

* fixed typo in Notebooks

line 9 had a typo in notebooks spelling

* adding details roadmaps for each Working Groups 

added WG roadmaps to the v1.7 roadmap

* final changes

added Johnu's request to reference new logs and trial details in Katib UI.   Removed reference to integration with Ray, BentoML and MLflow.

* removed a period from a line.
2022-11-21 19:32:13 +00:00
Tasos Alexiou 43ec40db49
centraldashboard: Fix eslint errors (#6752)
Fix eslint errors in MainPage and NamespaceSelector classes.

Signed-off-by: Tasos Alexiou <tasos@arrikto.com>

Signed-off-by: Tasos Alexiou <tasos@arrikto.com>
2022-11-21 10:04:12 +00:00
Tasos Alexiou 88e1b81c41
centraldashboard: Add support for apps in new windows (#6750)
Add support for apps opened in new windows in the dashboard's
library. These apps can now communicate with the dashboard and
receive events with the new namespace when it changes.

Signed-off-by: Tasos Alexiou <tasos@arrikto.com>

Signed-off-by: Tasos Alexiou <tasos@arrikto.com>
2022-11-21 09:44:13 +00:00
Elena Zioga cc6e0b1da1
Sorting support for VWA and TWA (#6743)
* vwa(front): Enable sorting in VWA (#6460)

* Enable sorting functionality in VWA.

Signed-off-by: Elena Zioga <elena@arrikto.com>

* twa(front): Enable sorting in TWA (#6460)

* Enable sorting functionality in TWA.

Signed-off-by: Elena Zioga <elena@arrikto.com>

* web-apps(front): Fix unit tests

* Fix unit tests.

Signed-off-by: Elena Zioga <elena@arrikto.com>

Signed-off-by: Elena Zioga <elena@arrikto.com>
2022-11-16 14:29:12 +00:00
Tobias Goerke cf9c6906f8
Remember the most recently selected namespace (#6663)
* Remember the most recently selected namespace
This way, Centraldashboard restores the namespace the user visited last

* Include user and namespace in localstorage's key
Remembering the most recently selected ns now works in multi-user envs

* Changed localstorage key to /centraldashboard/selectedNamespace/<user>
2022-11-16 10:59:10 +00:00
Elena Zioga 9de949e999
web-apps(front): Create unit tests for sorting (#6744)
* Create unit tests for the sorting functionality.

Signed-off-by: Elena Zioga <elena@arrikto.com>

Signed-off-by: Elena Zioga <elena@arrikto.com>
2022-11-15 14:55:27 +00:00
Elena Zioga 0ddc032f39
Sorting support for JWA (#6742)
* web-apps(front): Add sorting in common code (#6460)

* Add sorting functionality in the common code.

Signed-off-by: Elena Zioga <elena@arrikto.com>

* jwa(front): Enable sorting in JWA (#6460)

* Enable sorting functionality in JWA.

Signed-off-by: Elena Zioga <elena@arrikto.com>

Signed-off-by: Elena Zioga <elena@arrikto.com>
2022-11-15 14:51:27 +00:00
dependabot[bot] b8318d9da7
build(deps): bump loader-utils from 1.2.3 to 1.4.2 in /components/crud-web-apps/volumes/frontend (#6737)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.2.3 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.2.3...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 14:27:28 +00:00
Kimonas Sotirchos 1cca7b815c
web-apps: Common code for all-namespaces (#6730)
* wa(front): Use es2019 to have .flat()

Add es2019 to the tsconfig.compilerOptions.lib array in order for the
tslint linter to not complain about the use of flat().

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* wa(front): all-namespaces requests helper

Add a helper function in the backend.service that can take care of
creating the observable that will make requests for all namespaces.

Refs arrikto/dev#1529

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* wa(front): Disable toolbar + button on all-namespaces

Add helper methods to toolbar buttons to disable/enable them and add a
tooltip if the user selected all-namespaces.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* wa(front): Common logic for dynamic ns column

We want to show a `namespace` column when the user selects
all-namespaces, to make it easier to identify the different objects.

To not replicate the logic of adding and removing a column if all
namespaces was selected we moved this logic in the common table
component.

We also add an option to the component's config to disable/enable this
behavior.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* jwa(front): Utilize common code for all-namespaces

Update the JWA's code to work with the common code introduced to
supporting all-namespaces. This includes changes for:
* The Namespace column in the main table
* Helpers for performing requests in all namespaces
* Dynamically enabling/disabling the `+ new` button

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* frontend: Update the linting GH Action

Ensure we run `ng lint` to check if the code is properly linted.

Previously we just did `ng lint --fix` which would try to fix the code,
and not complain about it. But this means that we don't actually check
if the code is linted.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* wa(front): Fix linting issues in common code

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* gh-actions: Lint apps in parallel

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
2022-11-14 16:22:26 +00:00