-
Notifications
You must be signed in to change notification settings - Fork 163
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
show event details when starting a new notebook server #1608
show event details when starting a new notebook server #1608
Conversation
put PR into |
This is done by the Notebook Controller. We don't ever mess with it. The Culler is not a Dashboard feature, we just set the values so it will cull idle pods and cleanup resource usage. |
Well I learned a bit about culling now. There is no We have two notebook utilities with duplicate code: #640 added a change for some edge case related to last activity which is in one utility but not the other. |
Correct, nice catch in odh dashboard code (when to show events) |
Isn't one for the dashboard project jupyter tile and the other for other projects called data science projects? |
TBH I don't know the history of these files. But I'd like to minimize duplicate logic so that we don't apply fixes in one area only when it needs to be in both. |
@christianvogt @shalberd Yes, there are some duplicated codes for Jupyter Notebook Controller (KFNBC) and Data Science Project Workbenches. The notebook controller relies a lot on the old backend code which we want to deprecate in the future, but the util functions were implemented there first. Then we have the concept of data science projects and workbenches, where @andrewballantyne imports the pass-through API, where we move all the concepts after that to the frontend. However, the spawner page of both are similar, but also different, and we (I think it was probably me) tried to differentiate the concept of the notebook controller and the workbenches. So I copied some of the util functions instead of reusing them. |
@DaoDaoNoCode yeah, ok, so I remembered half-way correctly It is ok for me, I think we leave eventually getting rid of backend / traditional jupyter tile logic to you. |
a22c666
to
9fd43aa
Compare
9fd43aa
to
f699dce
Compare
@DaoDaoNoCode gave me a bit of a history lesson on the code and helped me understand more about the difference in where data is fetched. For now the simple solution is to address the immediate issue. I've updated both places with fallbacks when the |
I think the PR could also be a fix for #579 ? |
Yes, that might be the case, after we merge this @christianvogt I think we might wanna do a rundown of all the issues related, it seems that this bug has been tracked several times already 😂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/hold we are not expecting to be merging features until next week cc @andrewballantyne |
Just to reaffirm the hold on this PR - there's ambiguity around what should make it into rods 1.32, until we clear that up we're not merging anything. |
/unhold Release done, unholding. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: Gkrumbach07, 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:
Approvers can indicate their approval by writing |
Closes: #1607
Description
The notebook server is starting but cannot start due to insufficient resources. If the Notebook resource doesn't have a
notebooks.kubeflow.org/last-activity
annotation, the UI doesn't display any errors.Now the user gets an error:
And events log:
How Has This Been Tested?
Notebook
k8s resource for thenotebooks.kubeflow.org/last-activity
annotation. It should not be present.Test Impact
no new tests added
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main