-
Notifications
You must be signed in to change notification settings - Fork 559
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GCP] Fix
--disk-size
for Custom Machine Images (#2718)
* initial commit for gcp resizing disk * disk resizing for new instances * Change from compute_v1 to googleapiclient, Disk Resizing for custom images only, Address Formatting Issues * Address Formatting Issues * Address Formatting Issues * update gcp-ray.yml comments * address reformatting * Create documentation for custom image cloud permissions * [GCP] Minimal permissions for custom image * Check exisiting disk size & Move implementation to GCPCompute * Fix Format * Removed Unnecessary Imports & Return type * remove unnecessary check and resizing for restart * add disk resizing for TPUVMs * Add TODO for TPUVM resize * Update reference to github issue for TPUVM Co-authored-by: Tian Xia <[email protected]> * Return None for TPU Resize Co-authored-by: Tian Xia <[email protected]> * shorten comments for TPU function * Remove redundant check * Updated try_validate_image_id to raise error when users specify the same disk size * update try_validate_image_id * update resources.py * Fix formatting for resources.py * Update resources.py * Update resources.py * Allowing users to create instances with the same size as the image --------- Co-authored-by: Tian Xia <[email protected]>
- Loading branch information
Showing
4 changed files
with
83 additions
and
7 deletions.
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