-
Notifications
You must be signed in to change notification settings - Fork 530
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
[k8s] Add cluster attributes(autodown, idle-minutes-to-autostop) as annotations to the pod #3870
Merged
landscapepainter
merged 23 commits into
skypilot-org:master
from
landscapepainter:k8s-add-autodown-annotations
Sep 26, 2024
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
9c6afb4
add autodown annotations to the k8s pod
landscapepainter 2ff9e4d
revert kubernetes ray template
landscapepainter 4da096b
revert backend_utils from invasive approach
landscapepainter 0e75c06
nit
landscapepainter 54c764c
revert from invasive approaches
landscapepainter 8d740ab
revert
landscapepainter 0af73d8
updated approach
landscapepainter d0bebd6
nit
landscapepainter c75bca1
nit
landscapepainter 68af033
Use constant to represent idle_minutes_to_autostop for cancellation
landscapepainter 7a26edc
revert using constants for cancel
landscapepainter 42b8dda
nit
landscapepainter 6f71e37
nit
landscapepainter 73139a0
add smoke tests
landscapepainter 1799ca1
Merge branch 'master' into k8s-add-autodown-annotations
landscapepainter c2927ca
Update sky/provision/kubernetes/utils.py
landscapepainter f091007
fix comments
landscapepainter aaa28b7
nit
landscapepainter 6219702
remove loops and annotate one by one
landscapepainter 07a5a54
format
landscapepainter cf2591d
Merge branch 'master' into k8s-add-autodown-annotations
landscapepainter 38a64a1
update with autodown annotation with context
landscapepainter ef0b295
format
landscapepainter 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.
Can we quickly check if this global import does not break skypilot if kubernetes dependencies are not installed?
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.
Tested by running
sky launch --cloud gcp -y
from a new env where onlypip install -e ".[gcp]"
is set, and there was no issue raised.