Commit Graph

269 Commits

Author SHA1 Message Date
Tariq Hasan 4451765b12 chore: update node in crud-web-apps from 12 to 16 (kubeflow/kubeflow#7637)
* upgrade node from 12 to 16

Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com>

* replace cypress with playwright for e2e tests in jupyter

Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com>

* update base image for node

Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com>

* update build scripts for tensorboard

Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com>

* update build scripts for jupyter

Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com>

---------

Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com>
2024-11-26 17:15:52 +00:00
gigabyte132 c5354ab4f5 fix: return notebook events error message (kubeflow/kubeflow#7649)
Signed-off-by: Raulian-Ionut Chiorescu <raulian-ionut.chiorescu@cern.ch>
2024-10-23 00:00:30 +00:00
Tuomas Katila 8a3247a326 feat: add Intel Gaudi example notebook images (kubeflow/kubeflow#7635)
* feat(dashboard): add Habana Gaudi as an option for GPUs

Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>

* feat(notebooks): add Intel Gaudi pytorch containers

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>

* feat(notebooks): add gaudi jupyter containers to be built and published

Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>

* feat(notebooks): add a note about hugepages with Gaudi workloads

Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>

---------

Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-09-26 15:18:35 +00:00
Robert Gildein 5abca012ed feat(crud-web-apps): Add Prometheus metrics (kubeflow/kubeflow#7634)
* Add Prometheus metrics to CRUD backend

Use prometheus_flask_exporter library to add Prometheus metrics to
CRUD backend. With this approach all CRUD backens will be able to
enable metrics.

Signed-off-by: Robert Gildein <gildeinrobert@gmail.com>
Signed-off-by: Robert Gildein <robert.gildein@canonical.com>

* KF-6122 Add short doc about metrics a improve code

Add note to README.md about metrics and link the source code for more
information. Fix small issue and missing dependency for Python < 3.8.

Signed-off-by: Robert Gildein <robert.gildein@canonical.com>

* fix getting backend version from Python < 3.8

Signed-off-by: Robert Gildein <robert.gildein@canonical.com>

* Enable metrics by default and increase backend version to 1.2

Signed-off-by: Robert Gildein <robert.gildein@canonical.com>

* switch to group by rule instead of path

Signed-off-by: Robert Gildein <robert.gildein@canonical.com>

* fix yaml files

Signed-off-by: Robert Gildein <robert.gildein@canonical.com>

---------

Signed-off-by: Robert Gildein <gildeinrobert@gmail.com>
Signed-off-by: Robert Gildein <robert.gildein@canonical.com>
2024-09-05 12:01:15 +00:00
Kimonas Sotirchos 37e63c679a fix(notebooks): correctly handle `status.containerState` messages (kubeflow/kubeflow#7585)
* common: Unpin gevent dependency

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

* jwa(back): Better handling of message

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

* jwa(back): Add unittests

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

* fixup: Fix linting

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

* fix typos

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* fix tests

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Kimonas Sotirchos <kimwnasptd@gmail.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-05-24 02:37:28 +00:00
Hyeonki Hong 181d270a10 fix: remove incorrect space in `TWA_APP_SECURE_COOKIES` config (kubeflow/kubeflow#7274) 2024-05-24 00:26:27 +00:00
Tobias Goerke d4f0f18a70 fix: return waiting on no pvcviewer status (kubeflow/kubeflow#7350)
In some cases, a PVCViewer object has no status as it was just created or is having issues starting a pod.  In those cases, we should rather return waiting than uninitialized, which would appear to the users as if no viewer was started.
2024-05-24 00:25:27 +00:00
Prafful Mishra a249b1c99e fix(crud-web-apps/jupyter): dict variable reference for `node.status.capacity` (kubeflow/kubeflow#7485)
Signed-off-by: mishraprafful <mishraprafful@gmail.com>
2024-03-14 15:30:00 +00:00
dependabot[bot] d0a4089ede build(deps): bump urllib3 from 1.25.7 to 1.26.18 in /components/crud-web-apps/common/backend/kubeflow/kubeflow/crud_backend (kubeflow/kubeflow#7363)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.7 to 1.26.18.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.25.7...1.26.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-27 17:21:15 +00:00
dependabot[bot] fae16acc61 build(deps): bump @babel/traverse from 7.14.7 to 7.23.2 in /components/crud-web-apps/jupyter/frontend (kubeflow/kubeflow#7358)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.14.7 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-27 17:19:15 +00:00
dependabot[bot] 189e99edff build(deps): bump debug from 4.1.1 to 4.3.4 in /components/crud-web-apps/jupyter/frontend (kubeflow/kubeflow#7309)
Bumps [debug](https://github.com/debug-js/debug) from 4.1.1 to 4.3.4.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](https://github.com/debug-js/debug/compare/4.1.1...4.3.4)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-27 17:16:15 +00:00
dependabot[bot] f116cc5c70 build(deps): bump debug from 4.1.1 to 4.3.4 in /components/crud-web-apps/volumes/frontend (kubeflow/kubeflow#7308)
Bumps [debug](https://github.com/debug-js/debug) from 4.1.1 to 4.3.4.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](https://github.com/debug-js/debug/compare/4.1.1...4.3.4)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-27 17:15:16 +00:00
dependabot[bot] 8c970d2e62 build(deps): bump debug from 4.1.1 to 4.3.4 in /components/crud-web-apps/tensorboards/frontend (kubeflow/kubeflow#7307)
Bumps [debug](https://github.com/debug-js/debug) from 4.1.1 to 4.3.4.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](https://github.com/debug-js/debug/compare/4.1.1...4.3.4)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-27 17:14:16 +00:00
dependabot[bot] 14b519252e build(deps): bump @babel/traverse from 7.14.7 to 7.23.2 in /components/crud-web-apps/volumes/frontend (kubeflow/kubeflow#7356)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.14.7 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-27 17:12:16 +00:00
dependabot[bot] 81f0277f73 build(deps): bump @babel/traverse from 7.14.7 to 7.23.2 in /components/crud-web-apps/tensorboards/frontend (kubeflow/kubeflow#7355)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.14.7 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-27 17:11:15 +00:00
Pavel Klyuev e572eb9dd4 fix: 🏷️ Ensure username is returned by `get_username` as a string (kubeflow/kubeflow#7457)
In order to maintain consistency and compatibility, explicitly convert the 'username' variable to a string using the str() function before returning it. This ensures that the function consistently provides a string representation of the username, addressing potential variations in the original data type.

https://github.com/kubeflow/kubeflow/issues/7456

Update authn.py

Update notebook_template.yaml
2024-01-27 17:04:16 +00:00
Mathew Wicks e7f468d924 chore: cleanup inactive owners (kubeflow/kubeflow#7402) 2024-01-24 18:47:53 +00:00
Xin Hao e3548a56d2 Trim the custom Jupyter image string (kubeflow/kubeflow#6529) 2023-12-07 16:11:56 +00:00
boarder7395 dfe131a537 Handle edge case when node capacity is undefined gracefully. Closes #7280. (kubeflow/kubeflow#7281)
* Handle edge case when node capacity is undefined gracefully

* Change log message to capacity

* No need to make the message a warning

* Resolve flake8 issue

* ensure closing bracket matches indentation of opening bracket

* Fix flake8 issues from other files
2023-12-06 07:37:06 +00:00
Tobias Goerke 01ccb69dd2 chore: update default filebrowser version (kubeflow/kubeflow#7390)
Filebrowser recently release v2.25.0.
Until now, we couldn't use v2.24.0, which brings chunked uploads, due to an issue with Cloudflare environments. 
This got fixed in v2.25.0, so that chunked uploads should now work for every user: https://github.com/filebrowser/filebrowser/releases/tag/v2.25.0
2023-10-26 14:12:12 +00:00
Tobias Goerke 0e787960f5 fix: local var shadowing import (kubeflow/kubeflow#7375)
resolves #7373
2023-10-23 18:05:08 +00:00
Kimonas Sotirchos 78effb1c9d wa(front): Make the background white of all webapps (kubeflow/kubeflow#7341)
Signed-off-by: Kimonas Sotirchos <kimwnasptd@gmail.com>
2023-10-13 12:22:51 +00:00
Tobias Goerke 7286a41656 fix: KeyError on KF 1.8 (kubeflow/kubeflow#7335)
This change fixes an error 500 on notebook creation
2023-10-13 08:45:52 +00:00
Daniela Plascencia b38794b7c6 fix: set default GPU vendors list (kubeflow/kubeflow#7320)
The change introduced by kubeflow/kubeflow#6736 removed the default GPU vendors
list, which causes an issue when trying to select a vendor from the dropdown menu
if the vendors list is not configured.
This commit can be reverted if proper documentation is provided for users/distributions
to configure the dropdown menu.
Fixes #7273
2023-10-09 08:28:18 +00:00
Kimonas Sotirchos b9ff781a21 ci: Build ARM images for core components (kubeflow/kubeflow#7220)
* ci: Build ARM images for core components

Extend the GH Actions to also build the images on ARM architectures.

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

* crud-web-apps: Update python and gevent versions

In order to successfully build on linux/arm64/v8 we'll need to:
* Update to Python 3.10
* Bump the gevent version

https://github.com/gevent/gevent/issues/1721#issuecomment-1223751954

* Update the workflows for JWA

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

* Update workflows for centraldb

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

* Update workflows for kfam

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

* Update workflows for notebook-controller

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

* Update workflows for PodDefaults

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

* Update workflows for Profile Controller

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

* Update workflows for pvcviewer controller

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

* Update workflows for TensorBoard Controller

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

* Update workflows for TWA

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

* Update workflows for VWA

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

* Update releasing script to include PVCViewers

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

---------

Signed-off-by: Kimonas Sotirchos <kimwnasptd@gmail.com>
2023-10-04 22:17:15 +00:00
boarder7395 5213455aa3 Only load spawner_ui_config.yaml once every 10 minutes. closes #7259 (kubeflow/kubeflow#7260)
* Only load spawner_ui_config.yaml once every 10 minutes.

* Update cache to 60 seconds
2023-10-04 16:24:16 +00:00
Tobias Goerke 952414a007 fix: downgrade filebrowser to v2.23.0 (kubeflow/kubeflow#7247)
this fixes upload issues for cloudflare users
we are waiting for a patch version v2.24.3
2023-09-19 14:51:30 +00:00
Tobias Goerke 0f464e5bfd fix: viewer-spec.yaml and trigger build (kubeflow/kubeflow#7230)
* build: minor doc improvement triggering build pipe

* fix: viewer-spec.yaml

Two fields are either not correctly indented or named incorrectly

* fix: add volumes definition required by controller

* feat: use filebrowser:v2.24.2 enabling tus uploads
2023-08-16 18:56:03 +00:00
Pranav Pandit 340b7499f9 resolve build exception generated due to latest gevent version. (kubeflow/kubeflow#7231) 2023-08-07 14:01:56 +00:00
Tobias Goerke 9b2f82188e Add PVCViewer Frontend Integration (kubeflow/kubeflow#7179)
* Add pvcviewer support to volumes backend

* Modifying volumes manifests for pvcviewer support

* viewer-spec is now valid

* Add frontend integration

* Fix flake8 errors

* Use material spinners to display wait times

* Default PVCViewer SA to default-editor

* fix: remove superfluous space in docker builds (kubeflow/kubeflow#7224)
2023-08-04 19:01:20 +00:00
Elena Zioga 95bbbf07da [wa-theme-typography]: Define theme and typography (kubeflow/kubeflow#7062)
* web-apps(front): Define theme and typography

In this commit:
* Create a styles folder that contains all sccs files.
* Define the generic theme and typography.

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

* web-apps(front): Use the style of the specified body-1 level

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

* web-apps(front): Use the styles of the specified title and headline levels

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

* web-apps(front): Use primary color in snackbar component

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

* web-apps(front): Change back button

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

* jwa(front): Fix imports after restructuring

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

* jwa(front): Add mat-typography class in index.html

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

* jwa(front): Use the style of the specified title level

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

* jwa(front): Use primary color

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

* vwa(front): Fix imports after restructuring

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

* vwa(front): Add mat-typography class in index.html

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

* vwa(front): Use the style of the specified title level

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

* twa(front): Fix typo

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

* twa(front): Add mat-typography class in index.html

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

* twa(front): Fix imports after restructuring

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

* twa(front): Use primary color

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

* twa(front): Fix formatting

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

* twa(front): Fix ui test

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

---------

Signed-off-by: Elena Zioga <elena@arrikto.com>
2023-07-31 16:47:29 +00:00
axel7083 310d4a0c10 feature(notebook): Adding creator user-id to annotation (kubeflow/kubeflow#7198)
* Adding creator annotation to notebooks

* Adding missing html

* Fixing linter issue

* Fixing prettier

* Adding condition for displaying creator (backward compatibility)
2023-07-31 16:37:29 +00:00
dependabot[bot] 8475b42785 build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /components/crud-web-apps/volumes/frontend (kubeflow/kubeflow#7215)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 09:34:25 +00:00
dependabot[bot] 095d47ac53 build(deps): bump socket.io-parser from 4.2.1 to 4.2.3 in /components/crud-web-apps/jupyter/frontend (kubeflow/kubeflow#7145)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.1 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.1...4.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 18:14:03 +00:00
Kimonas Sotirchos 0dc4261955 Fix Python linting (kubeflow/kubeflow#7060)
* gh-action: Workflow for testing python lint

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

* lint: Run autopep8 to lint files

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

* linting: Manual changes

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

---------

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
2023-03-30 09:32:05 +00:00
amitmukati-2604 d438892c77 Adding changes to build multi arch images on pull_request for VWA. (kubeflow/kubeflow#7052) 2023-03-23 15:27:22 +00:00
Elena Zioga c0f00e836b jwa: Improve how JWA exposes errors (kubeflow/kubeflow#6952)
* web-apps(front): Fix status case

* Fix the status case to properly show the warning icon when the status
  phase is warning.

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

* web-apps(front): Modify status-icon component

* Modify the status-icon component to follow the status cases.

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

* web-apps(front): Modify status component

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

* web-apps(front): Introduce status-info component

* Have an admonition in the details page of each Notebook with a
  detailed message on the current status.

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

* jwa(back): Extend process_status function

The process_status parses the status by:
- Checking the .status.containerState.
- Checking the .status.conditions, since they have the one-liner reason
  and a message.
- If none of the above exist, it will use the Events emitted for the
  notebook.
- In case it deduces the status from an Event and it's not available
  anymore, it uses a generic message.

Also, add a 10 second delay to the backend logic where we display a
spinner and a generic message to prevent a warning icon from appearing
immediately after a notebook is initialized.

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

* jwa(back): Extend getNotebook request

* Extend the getNotebook request to also include the processed status
  information in the Notebook details page.

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

* jwa(front): Extend the frontend

Extend the frontend by:
- Adding an admonition with a detailed message on the current status
  bellow the notebook name.
- Adding the processed_status field.

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

* jwa(front): Fix unit tests

Fix unit tests accordingly.

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

* jwa: Don't show the popup when a notebook is being stopped

* Use the waiting status, which also uses the spinner, when a notebook
  is being stopped.

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

* vwa(front): Update lib-status-icon

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

* fixup! jwa(back): Extend getNotebook request

* fixup! jwa(back): Extend process_status function

---------

Signed-off-by: Elena Zioga <elena@arrikto.com>
2023-03-23 15:23:22 +00:00
Elena Zioga 4f5d633d59 web-apps(back): Fetch resources events (kubeflow/kubeflow#7019)
* web-apps(back): Create list_events function

Create list_events(namespace, field_selector) function for listing
events of each resource.

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

* web-apps(back): Utilize list_events for listing notebook events

Utilize list_events function for listing notebook events in notebook.py
file.

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

* web-apps(back): Utilize list_events for listing pvc events

Utilize list_events function for listing pvc events in pvc.py file.

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

---------

Signed-off-by: Elena Zioga <elena@arrikto.com>
2023-03-23 08:47:22 +00:00
Elena Zioga 8af965fb9b jwa(front): Fix the workspace volume form's inputs (kubeflow/kubeflow#7029)
* jwa(front): Fix the size input value

The size form input was not showing the correct value, once the frontend
got the ConfigMap defaults. We should be updating the intermediate FormControl
when the data from the ConfigMap arrives at the frontend.

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

* jwa(front): Fix the access-mode input value

The access mode form input was not showing the correct value, once the frontend
got the ConfigMap defaults. We should be updating the intermediate FormControl
when the data from the ConfigMap arrives at the frontend.

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

* jwa(front): Fix the name input value

The name form input was not showing the correct value, once the frontend
got the ConfigMap defaults. We should be updating the intermediate FormControl
when the data from the ConfigMap arrives at the frontend.

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

* jwa(front): Use 5Gi everywhere

All new volumes will have a default value of 5Gi. This includes the 'Add
new volume' button for both the workspace and data volumes.

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

* jwa(front): Add UI tests with Cypress

Add integration tests with Cypress to ensure that the form will have the
correct values once it gets the ConfigMap.

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

---------

Signed-off-by: Elena Zioga <elena@arrikto.com>
2023-03-22 13:57:43 +00:00
amitmukati-2604 07a01a3861 Adding changes to build JWA on pull_request (kubeflow/kubeflow#6992)
* Adding changes to build JWA on pull_request

* Adding changes to build JWA on pull_request
2023-03-21 11:05:41 +00:00
Elena Zioga f3cacadbb2 web-apps: Remove all the Rok references (kubeflow/kubeflow#7020)
* web-apps(front): Remove rok references

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

* web-apps(back): Remove rok references

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

---------

Signed-off-by: Elena Zioga <elena@arrikto.com>
2023-03-14 15:58:33 +00:00
Midhun Nair 78e067e594 Fix: Strip unwanted space in custom image name (kubeflow/kubeflow#7026) 2023-03-14 15:40:25 +00:00
Mathew Wicks e3725c98d8 clean up default `spawner_ui_config.yaml` (kubeflow/kubeflow#6736) 2023-03-08 07:45:12 +00:00
Elena Zioga 40cd9ad78e web-apps(front): Fix typos (kubeflow/kubeflow#7017)
* jwa(front): Fix typo

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

* twa(front): Fix typos

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

---------

Signed-off-by: Elena Zioga <elena@arrikto.com>
2023-03-06 17:58:36 +00:00
Elena Zioga e7a1d7d288 vwa: Remove all the Rok references (kubeflow/kubeflow#6984)
* vwa(front): Remove rok references

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

* vwa(back): Remove rok references

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

* vwa(build): Update Dockerfile

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

---------

Signed-off-by: Elena Zioga <elena@arrikto.com>
2023-03-06 10:22:35 +00:00
Elena Zioga 85f262abb9 jwa: Remove all the Rok references (kubeflow/kubeflow#6985)
* jwa(front): Remove rok references

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

* jwa(back): Remove rok references

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

---------

Signed-off-by: Elena Zioga <elena@arrikto.com>
2023-03-06 10:06:35 +00:00
Elena Zioga f465180f05 jwa(front): JWA shows a weird long value for memory when restoring notebook from snapshot (kubeflow/kubeflow#6897)
* web-apps(front): Introduce MemoryValue class

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

* web-apps(front): Introduce unit tests for the MemoryValue class

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

* jwa(front): Use MemoryValue class for memory column

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

* web-apps(front): Make quantityToScalar() use only Number()

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

* jwa(front): Update quantityToScalar() import

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

* vwa(front): Update quantityToScalar() import

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

---------

Signed-off-by: Elena Zioga <elena@arrikto.com>
2023-02-24 12:33:24 +00:00
Elena Zioga daf78aaf85 web-apps(front): Fix the action component (kubeflow/kubeflow#6967)
* Fix the action component to properly show the tooltip of the
  start-stop action button in JWA.

Signed-off-by: Elena Zioga <elena@arrikto.com>
2023-02-22 09:25:41 +00:00
dependabot[bot] 5c74a8acb5 build(deps): bump ua-parser-js from 0.7.31 to 0.7.33 in /components/crud-web-apps/volumes/frontend (kubeflow/kubeflow#6908)
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.31 to 0.7.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.31...0.7.33)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 13:43:06 +00:00
dependabot[bot] 54f0518c1c build(deps): bump ua-parser-js from 0.7.31 to 0.7.33 in /components/crud-web-apps/tensorboards/frontend (kubeflow/kubeflow#6907)
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.31 to 0.7.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.31...0.7.33)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 13:42:06 +00:00