Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Front end coded, backend api updated for tolerations. #382

Merged
merged 1 commit into from
Aug 24, 2022

Conversation

dlabaj
Copy link
Contributor

@dlabaj dlabaj commented Aug 1, 2022

This PR relates to #338 Updates the cluster settings with notebook toleration per designs and jira issue https://issues.redhat.com/browse/RHODS-3624

Description

Adds the ability to set notebook toleration via the cluster settings

How Has This Been Tested?

  • Front end coded tested
  • Backend coded tested
  • Built and manually tested end to end.

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

Testing instructions:

  • Navigate to Cluster Settings
  • Enable notebook toleration
  • Save the settings
  • Navigate to KFNBC spawner page
  • Start a notebook
  • On Open Shift find the notebook Pod
  • Verify that the toleration has been added for the notebook

@andrewballantyne andrewballantyne linked an issue Aug 3, 2022 that may be closed by this pull request
@openshift-merge-robot openshift-merge-robot added the needs-rebase PR needs to be rebased label Aug 17, 2022
@andrewballantyne andrewballantyne added the do-not-merge/work-in-progress This PR is in WIP state label Aug 17, 2022
@dlabaj dlabaj changed the title [WIP] Front end coded, backend api updated for tolerations. Front end coded, backend api updated for tolerations. Aug 19, 2022
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress This PR is in WIP state label Aug 19, 2022
@openshift-merge-robot openshift-merge-robot removed the needs-rebase PR needs to be rebased label Aug 19, 2022
@openshift-merge-robot openshift-merge-robot added the needs-rebase PR needs to be rebased label Aug 23, 2022
@DaoDaoNoCode
Copy link
Member

@dlabaj Can you rebase this PR?

@openshift-merge-robot openshift-merge-robot removed the needs-rebase PR needs to be rebased label Aug 23, 2022
@dlabaj dlabaj force-pushed the kfnbc-tol-333 branch 2 times, most recently from 6621d16 to c4d1a38 Compare August 23, 2022 14:32
@dlabaj dlabaj force-pushed the kfnbc-tol-333 branch 3 times, most recently from dc3d8d7 to f461097 Compare August 23, 2022 18:29
Fixed linting error.

Updates to backend and frontend code.

Updated to set toleration for notebook.

Fixed notebookTolerationSettings.

Fixed linting error

fixed issue with default settings.

Removed dead code

Removed unused import

Removed any from body constant

Added toleration support for notebooks.

Added toleration support in cluster settings, and updated code to add toleration to notebooks if it's enabled.

Added toleration support in cluster settings, and updated code to add toleration to notebooks if it's enabled.
Copy link
Member

@DaoDaoNoCode DaoDaoNoCode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm but hold the merge for now until we get the second approver in case I missed anything.

@DaoDaoNoCode DaoDaoNoCode added do-not-merge/hold This PR is hold for some reason and removed approved labels Aug 23, 2022
Copy link
Contributor

@lucferbux lucferbux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 24, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: DaoDaoNoCode, lucferbux

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [DaoDaoNoCode,lucferbux]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lucferbux
Copy link
Contributor

lgtm but hold the merge for now until we get the second approver in case I missed anything.

@DaoDaoNoCode checked, everything seems great now!

@DaoDaoNoCode DaoDaoNoCode removed the do-not-merge/hold This PR is hold for some reason label Aug 24, 2022
@openshift-merge-robot openshift-merge-robot merged commit f76e395 into opendatahub-io:main Aug 24, 2022
LaVLaS pushed a commit to LaVLaS/odh-dashboard that referenced this pull request Aug 26, 2022
Fixed linting error.

Updates to backend and frontend code.

Updated to set toleration for notebook.

Fixed notebookTolerationSettings.

Fixed linting error

fixed issue with default settings.

Removed dead code

Removed unused import

Removed any from body constant

Added toleration support for notebooks.

Added toleration support in cluster settings, and updated code to add toleration to notebooks if it's enabled.

Added toleration support in cluster settings, and updated code to add toleration to notebooks if it's enabled.
LaVLaS pushed a commit to red-hat-data-services/odh-dashboard that referenced this pull request Aug 31, 2022
Fixed linting error.

Updates to backend and frontend code.

Updated to set toleration for notebook.

Fixed notebookTolerationSettings.

Fixed linting error

fixed issue with default settings.

Removed dead code

Removed unused import

Removed any from body constant

Added toleration support for notebooks.

Added toleration support in cluster settings, and updated code to add toleration to notebooks if it's enabled.

Added toleration support in cluster settings, and updated code to add toleration to notebooks if it's enabled.
strangiato pushed a commit to strangiato/odh-dashboard that referenced this pull request Oct 18, 2023
Fixed linting error.

Updates to backend and frontend code.

Updated to set toleration for notebook.

Fixed notebookTolerationSettings.

Fixed linting error

fixed issue with default settings.

Removed dead code

Removed unused import

Removed any from body constant

Added toleration support for notebooks.

Added toleration support in cluster settings, and updated code to add toleration to notebooks if it's enabled.

Added toleration support in cluster settings, and updated code to add toleration to notebooks if it's enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[KFNBC]: UI: Support tolerations for Jupyter notebooks
5 participants