Commit Graph

424 Commits

Author SHA1 Message Date
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
Julius von Kohout 7eb0e637d9 Prevent S6 timeouts on container start by setting S6_CMD_WAIT_FOR_SER… (kubeflow/kubeflow#7421)
Might be needed for slow storage see https://github.com/pi-hole/docker-pi-hole/pull/1192
2024-01-27 17:22:15 +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] 2902c14e3a build(deps): bump golang.org/x/net from 0.0.0-20210825183410-e898025ed96a to 0.17.0 in /components/tensorboard-controller (kubeflow/kubeflow#7329)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20210825183410-e898025ed96a to 0.17.0.
- [Commits](https://github.com/golang/net/commits/v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  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:13: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
dependabot[bot] 35a869696d build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /components/pvcviewer-controller (kubeflow/kubeflow#7427)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 06:37:38 +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
Mathew Wicks bead8d49b7 fix: jupyterlab runtime volume permissions (kubeflow/kubeflow#7407) 2023-12-06 07:24:06 +00:00
Mathew Wicks 37e146a0a1 fix: downgrade jupyterlab to 3.6.6 (kubeflow/kubeflow#7398) 2023-10-31 21:04:56 +00:00
LiaoSirui f9af6f9c18 fix(notebook-controller): fix typo (kubeflow/kubeflow#7305)
namesace -> namespace in file components/notebook-controller/controllers/notebook_controller.go
2023-10-26 14:46:10 +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
Mathew Wicks 15b1068a40 feat: update notebook server images + support ARM64 (kubeflow/kubeflow#7357)
* feat: update example notebook servers

* docs: update example notebook servers readme

* feat: update code-server notebook image start args

* docs: update links to use kubeflow/kubeflow repo
2023-10-24 21:34:07 +00:00
Tobias Goerke 0e787960f5 fix: local var shadowing import (kubeflow/kubeflow#7375)
resolves #7373
2023-10-23 18:05:08 +00:00
Tobias Goerke 8a4d0efe6e feat: make pvcviewer istio gateway configurable (kubeflow/kubeflow#7351) 2023-10-19 00:31:56 +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
dependabot[bot] 4a75c9b330 build(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 in /components/pvcviewer-controller (kubeflow/kubeflow#7331)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.7.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 16:05:22 +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 e462c28b64 fix: pvcviewer tests (kubeflow/kubeflow#7292)
Changes filepaths on master caused the download of CRDs to fail.
Instead, we now add the CRDs statically, to prevent issues like these.

See for more info:
https://github.com/kubeflow/kubeflow/pull/7286#issuecomment-1728151521
2023-09-21 09:04:37 +00:00
dependabot[bot] 390da620bb build(deps): bump gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0 in /components/notebook-controller (kubeflow/kubeflow#7256)
Bumps gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0.

---
updated-dependencies:
- dependency-name: gopkg.in/yaml.v3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 18:42:29 +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
Tobias Goerke b1bdb3af0f Update PVCViewer manifests (kubeflow/kubeflow#7178)
* Update role_binding.yaml

roleRef.name now matches role.metadata.name

* Remove invalid creationTimestamp: null fields

* Use commonLabels over labels
to comply with old kustomize version being used in integration tests

* Use vars in favor of replacements
2023-07-31 18:08:29 +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
Narayanamurthi Mari b9507167d8 feat(notebooks): propagate annotations from notebook cr to pods (kubeflow/kubeflow#7076)
Co-authored-by: osd530 <narayanamurthi.mari@capitalone.com>
2023-07-31 16:43:28 +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
一条肥鱼 07d88db222 fix: deprecation of 'go get' for installing modules (kubeflow/kubeflow#7177)
Co-authored-by: esacif <esacif@gmail.com>
2023-07-20 09:35:25 +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] 384a7b5e2f build(deps): bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 in /components/pvcviewer-controller (kubeflow/kubeflow#7167)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220722155237-a158d28d115b to 0.7.0.
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  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-14 14:38:35 +00:00
Tobias Goerke 797c9d0486 Re-Introducing the Volumes Viewer (kubeflow/kubeflow#6876)
* Integrating volumes viewer into volumes ui backend

* Integrating volumes viewer into volumes ui frontend

* Modified the volume viewer's manifests to be in accordance with the volumes viewer changes

* Bootstrapping/creating VolumesViewer Controller

* Changed/reverted image definitions

* Fixed code style issues

* Run prettier on index-default.component.ts

* Reverted accidental method call change back to getSelectedNamespace2

* Reverted package-lock.json

* Now using the VOLUME_VIEWER_IMAGE env variable in the viewer's podTemplate

* Set readinessProbe.initialDelaySeconds=2 for new viewers

* Removed downward api references in favor of Python variable expansion

* Revised crd schema

- Now includes a status.URL field
- Reverted changes to status.py to minimize diff

* Providing NAME as a possible var for var expansion

* Return and use the VolumesViewer.Status.URL

* Reconcile status while deletion ongoing

* Restored empty line to get file off diff

* Reducing diff on get.py

* Run prettier

* Updated OWNERS/README

* Changes to schema comments / renaming

* Improved test performance and reliability
By cleaning up resources created by tests in afterEach()
Also: Pod watch now only triggers for non-terminating RUNNING/PENDING pods, reducing the number of reconciliation calls

* Renaming VolumesViewer -> PVCViewer as discussed in community meeting

* Moving changes to volumes frontend to another PR as discussed in community meeting

* Renaming file names

* Renaming PVCViewerSpec.PodTemplate -> PodSpec

* Renaming PVCViewerSpec.Service -> Networking

* Adding the Spec.PVC field and validating/defaulting webhooks

* Adding the option to load a default podSpec from file

* Introduced PVCViewer.Status.Conditions

* Validator requires the PVC to be used in podSpec

* Added tests for the validating webhook

* Removed debug log message

* Updating manifests to work with new webhooks

* Updating documentation

* Refactored manager according to specs

* Modifying pvcviewer OWNERS

* Makefile & renaming comp -> pvcviewer-controller

* Changing nameprefix to pvcviewer-

* Setting imagePullPolicy: IfNotPresent

* Adding a base directory

* Generating TLS certs for make run

* Adding a log time encoder
2023-06-14 07:33:34 +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
Maksim Beliaev 65c5aed0cd Update requirements.txt (kubeflow/kubeflow#7050) 2023-03-24 12:43:22 +00:00
amitmukati-2604 28778701d9 Adding changes to build nb-controller on pull_request (kubeflow/kubeflow#7054) 2023-03-23 15:28:21 +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