-
Notifications
You must be signed in to change notification settings - Fork 222
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
Feature/configure kernel launch terminate on events #1383
Open
OrenZ1
wants to merge
14
commits into
jupyter-server:main
Choose a base branch
from
OrenZ1:feature/configure_kernel_launch_terminate_on_events
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
3188e31
Initialize class `kernel_launch_terminate_on_events` in init method.
OrenZ1 add94cb
Add pending container handling in `confirm_remote_startup` method - c…
OrenZ1 dc2f587
Implement `get_container_events` in k8s.
OrenZ1 e0244fb
Add `kernel_launch_terminate_on_events` configuration to `RemoteMappi…
OrenZ1 eff70e1
Beautify code and add comments.
OrenZ1 6982637
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8432a1b
Add type hint for default of `kernel_launch_terminate_on_events`
OrenZ1 b295436
Merge branch 'feature/configure_kernel_launch_terminate_on_events' of…
OrenZ1 4d9cf31
Add docstring to `_handle_pending_kernel` which explains about possib…
OrenZ1 cc4c650
Add an explanation about event type and reason and how to find them i…
OrenZ1 8990eae
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 686b342
Add the docs about `kernel_launch_terminate_on_events` to `RemoteMapp…
OrenZ1 3803931
Merge branch 'feature/configure_kernel_launch_terminate_on_events' of…
OrenZ1 a212f97
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Since the event type and reason need to be matches, is there a doc reference we could add that enumerates the various values that could be expected? That said, I suppose folks will need to be reactive (vs. proactive) in this sense and will have the event information when troubleshooting, but it still might be helpful to have a link or two, or add the enumeration directly.
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.
Added a docstring to
handle_pending_kernel
method incontainer.py
, as well as a more detailed configuration help. I found it hard to find a detailed list of Kubernetes events by type and reason, so I added an enumeration which may differ in different platforms (or even versions of K8S itself). I agree that folks will need to be reactive, but I did also add a link to a guide I found helpful with finding the correct event type and reason.