-
Notifications
You must be signed in to change notification settings - Fork 633
[Core] Optimize kubernetes cmd executions with kubernetes command runner #3157
New issue
Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “No 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? No Sign in to your account
Merged
Merged
Changes from 75 commits
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
1571e4e
remove job_owner
Michaelvll afd5660
remove some clouds.Local related code
Michaelvll 8314263
Remove Local cloud entirely
Michaelvll 1a025c5
remove local cloud
Michaelvll c9f79b0
fix
Michaelvll 308ca0f
slurm runner
f417c5f
kubernetes runner
Michaelvll 520d457
Use command runner for kubernetes
Michaelvll d252582
rename back to ssh
Michaelvll e8bbd18
refactor runners in backend
Michaelvll 645f067
Merge branch 'remove-local-cloud' of github.com:skypilot-org/skypilot…
Michaelvll 0744608
Merge branch 'master' of github.com:skypilot-org/skypilot into kubern…
Michaelvll 99aea26
fix
Michaelvll 87ab4a8
fix
Michaelvll 19791b1
fix rsync
Michaelvll 84eff39
Fix runner
Michaelvll 4c5f0e2
Fix run()
Michaelvll ed50603
errors and fix head runner
Michaelvll 2355521
Merge branch 'master' of github.com:skypilot-org/skypilot into remove…
Michaelvll 7486c0f
Merge branch 'remove-local-cloud' of github.com:skypilot-org/skypilot…
Michaelvll eae92cb
support different mode
Michaelvll 07b0234
Merge branch 'master' of github.com:skypilot-org/skypilot into kubern…
Michaelvll 8c0ffe1
Merge branch 'master' of github.com:skypilot-org/skypilot into kubern…
Michaelvll 5a6b4c7
format
Michaelvll cbb7ac8
use whoami instead of $USER
Michaelvll 872cfe5
timeline for run and rsync
Michaelvll 69816a7
lazy imports for pandas and lazy data frame
Michaelvll 065b80d
fix fetch_aws
Michaelvll 3a27f61
fix fetchers
Michaelvll 769840f
avoid sync script for task
Michaelvll 356d851
Merge branch 'lazy-imports' of github.com:skypilot-org/skypilot into …
Michaelvll 9cfaf09
add timeline
Michaelvll bf1ea40
cache cluster_info
Michaelvll 68ebfdb
format
Michaelvll 05ae471
cache cluster info
Michaelvll d6a7ef8
do not stream
Michaelvll 9dca1a3
fix skip lines
Michaelvll b2ec63e
format
Michaelvll d2e358e
avoid source bashrc or -i for internal exec
Michaelvll 34080c5
format
Michaelvll 326bcb1
use -i
Michaelvll 421e624
Add None arg
Michaelvll 95b8976
Merge branch 'master' of github.com:skypilot-org/skypilot into kubern…
Michaelvll b739d5d
fix merge conflicts
Michaelvll ffb9463
Fix source bashrc
Michaelvll 478ca11
Merge branch 'master' of github.com:skypilot-org/skypilot into kubern…
Michaelvll b14ead8
add connect_timeout
Michaelvll 623e475
format
Michaelvll 05e4b16
Correctly quote the script without source bashrc
Michaelvll c77746f
Merge branch 'master' of github.com:skypilot-org/skypilot into kubern…
Michaelvll e20d0a4
fix output
Michaelvll 1f9eb6d
Fix connection output
Michaelvll 0b296ee
Fix
Michaelvll 1b86928
check twice
Michaelvll 556b370
add Job ID
Michaelvll 55d3ce2
fix
Michaelvll f0fe059
Merge branch 'fix-connection-output' of github.com:skypilot-org/skypi…
Michaelvll 7a76456
format
Michaelvll 7e919e8
fix ip
Michaelvll b12be89
Merge branch 'master' of github.com:skypilot-org/skypilot into kubern…
Michaelvll 1b14e27
fix rsync for kubectl command runner
Michaelvll f3f8167
format
Michaelvll 8ceec9e
Enable output check for kubernetes
Michaelvll 281b4ee
Fix *
Michaelvll b890eb3
Fix comments
Michaelvll 557234c
longer wait
Michaelvll 4cd2ea9
longer wait
Michaelvll 41f286e
Merge branch 'master' of github.com:skypilot-org/skypilot into kubern…
Michaelvll baed886
Update sky/backends/cloud_vm_ray_backend.py
Michaelvll 6b22124
Update sky/provision/kubernetes/instance.py
Michaelvll 8a672d6
address comments
Michaelvll a032f4e
refactor rsync
Michaelvll 9816e8a
add comment
Michaelvll 27cb9a2
fix interface
Michaelvll 19e681d
Merge branch 'master' of https://github.com/skypilot-org/skypilot int…
Michaelvll 8354e5d
Update sky/utils/command_runner.py
Michaelvll b869868
fix quote
Michaelvll 8751688
Merge branch 'kubernetes-runner' of https://github.com/skypilot-org/s…
Michaelvll 0acfc0a
Fix skip lines
Michaelvll 07bead2
fix smoke
Michaelvll 5dbc9b4
format
Michaelvll 9c46584
fix
Michaelvll da3fa06
Merge branch 'master' of https://github.com/skypilot-org/skypilot int…
Michaelvll 1ebce4e
Merge branch 'master' of https://github.com/skypilot-org/skypilot int…
Michaelvll 9011b1d
Merge branch 'master' of github.com:skypilot-org/skypilot into kubern…
Michaelvll a8d09b5
fix serve failures
Michaelvll 30397ef
Fix condition
Michaelvll f5018f1
trigger test
Michaelvll 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Curious - does the removal of
*
impact how hidden files are handled? On my mac it does not make any difference and this change should be ok, but this article seems to suggest it does. Any thoughts?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.
It seems no significant difference between
/*
and/
, and the latter is more robust. The tailing*
means the shell expands the pattern to include all files and directories in src before rsync runs, while the latter relies on rsync's own logic to sync the content of src.