-
Notifications
You must be signed in to change notification settings - Fork 8
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
6 scheduling #36
Open
vlerkin
wants to merge
23
commits into
q-m:main
Choose a base branch
from
vlerkin:6-scheduling
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
6 scheduling #36
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
4c0a82d
extracted resource watching logic into a separate class; implemented …
vlerkin da8254f
add kubernetes scheduler class that subscribes to the event observer …
vlerkin 9dae80d
Merge branch 'main' into 6-scheduling
vlerkin 7f66895
finish the observer logic extraction; merge changes from main; add re…
vlerkin 963f279
change enable_joblogs method signature in docker
vlerkin 7dc24bc
refactor api.py and launcher/k8s.py to keep api.py launcher agnostic
vlerkin 98f5559
add implementation for docker to check the number of running containe…
vlerkin 01b120b
remove update from RBAC because we perform patching of the resource a…
vlerkin 08f1785
add number of retry attempts and exponential backoff time to the reco…
vlerkin 2d5e6bf
create a helper finction _filter_jobs that accepts a filter function …
vlerkin 36217d9
change the signature of the filtering method to also accept a parse f…
vlerkin 2d843c1
add number of retry attempts and exponential backoff time to the reco…
vlerkin 923915f
add logic to reset number of reconnect attempts and backoff time when…
vlerkin 6a64485
added a CONFIG.md file with detailed explanations about parameters us…
vlerkin 3604267
move section about config file from README.md to CONFIG.md; add a lin…
vlerkin 6394633
Merge branch 'main' into 6-scheduling
vlerkin e3197f2
make number of job limitation optional by separating k8s_scheduler in…
vlerkin e23bfce
implement the feature to limit running jobs to be optional for Docker…
vlerkin 17d14b6
add exceptions to the KubernetesScheduler class, for the init method,…
vlerkin a30c531
Merge remote-tracking branch 'upstream/main' into 6-scheduling
vlerkin 8d8032c
add custom exceptions to the class for log handling; add exceptions t…
vlerkin 331090f
modify method that fetches nez job id to be unsuspended to add creati…
vlerkin 16a8276
make the proper test structure according to the standards; add tests …
vlerkin 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from scrapyd_k8s.k8s_scheduler.k8s_scheduler import KubernetesScheduler |
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.
I'd move these custom exceptions to a separate file.
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.
Good point! If I make a file with custom exceptions within joblogs module, is it fine? I just feel like making a general file for custom exceptions in the root directory for this optional feature is not a good idea. What do you think?
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.
Fine for sure for now. If we add more exceptions later we could reconsider to make a more central one then.