-
Notifications
You must be signed in to change notification settings - Fork 20
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
Compute: Add Block Storage #574
Merged
pierre-emmanuelJ
merged 45 commits into
master
from
pej/sc-78479/blockstorage-integration-on-the-cli
Apr 3, 2024
Merged
Compute: Add Block Storage #574
pierre-emmanuelJ
merged 45 commits into
master
from
pej/sc-78479/blockstorage-integration-on-the-cli
Apr 3, 2024
Conversation
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
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
…ockstorage-integration-on-the-cli
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
pierre-emmanuelJ
force-pushed
the
pej/sc-78479/blockstorage-integration-on-the-cli
branch
from
February 21, 2024 11:08
174b838
to
30c0172
Compare
sauterp
reviewed
Feb 21, 2024
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's a big PR, if you could have split it it would be easier to review. I'll review more later.
sauterp
reviewed
Feb 21, 2024
sauterp
reviewed
Feb 21, 2024
Co-authored-by: Philipp Sauter <[email protected]>
Co-authored-by: Philipp Sauter <[email protected]>
Co-authored-by: Philipp Sauter <[email protected]>
Co-authored-by: Philipp Sauter <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
pierre-emmanuelJ
commented
Mar 7, 2024
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
…ockstorage-integration-on-the-cli Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
arnaudgeiser
approved these changes
Mar 28, 2024
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
arnaudgeiser
approved these changes
Mar 28, 2024
kobajagi
approved these changes
Apr 2, 2024
sauterp
reviewed
Apr 2, 2024
sauterp
approved these changes
Apr 2, 2024
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
pierre-emmanuelJ
deleted the
pej/sc-78479/blockstorage-integration-on-the-cli
branch
April 3, 2024 09:03
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Add all the Block Storage integration into compute command
exo compute block-storage
.Some misc has been added to outputer, to make better integration with our Exoscale API resources (egoscale v3).
Compute instance can create an instance with an attached block storage volume.
Checklist
(For exoscale contributors)
Testing
Block Storage create
exo compute block-storage create test-volume --size 100 ✔ Creating block storage volume "test-volume"... 3s ┼─────────────────────────┼──────────────────────────────────────┼ │ BLOCK STORAGE VOLUME │ │ ┼─────────────────────────┼──────────────────────────────────────┼ │ Block Storage Snapshots │ n/a │ │ Blocksize │ 4096 │ │ Created AT │ 2024-02-20 16:43:32 +0000 UTC │ │ ID │ e429973e-c499-4f66-a64e-a22aa673c32b │ │ Instance │ n/a │ │ Labels │ n/a │ │ Name │ test-volume │ │ Size │ 100 GiB │ │ State │ detached │ ┼─────────────────────────┼──────────────────────────────────────┼
Block Storage list
Block Storage attach
Block Storage Snapshot create
exo compute block-storage snapshot create test-volume ✔ Snapshoting block storage volume "test-volume"... 3s ┼───────────────────────────────┼──────────────────────────────────────┼ │ BLOCK STORAGE VOLUME SNAPSHOT │ │ ┼───────────────────────────────┼──────────────────────────────────────┼ │ Created AT │ 2024-02-20 16:49:37 +0000 UTC │ │ ID │ 448657be-9a2d-4f58-b15d-47f2216faadd │ │ Labels │ n/a │ │ Volume │ e429973e-c499-4f66-a64e-a22aa673c32b │ │ Name │ test-volume_20240220164937 │ │ Size │ 0 B │ │ State │ created │ ┼───────────────────────────────┼──────────────────────────────────────┼
Block Storage Snapshot list
Block Storage Snapshot show
Block Storage show
Block Storage Snapshot delete
Block Storage detach
Block Storage delete
Create Instance from Block Storage Volume
exo compute instance create instance-test --block-storage-volume test-volume-prod ✔ Creating instance "instance-test"... 16s ┼──────────────────────┼──────────────────────────────────────┼ │ COMPUTE INSTANCE │ │ ┼──────────────────────┼──────────────────────────────────────┼ │ ID │ b8fa9558-da71-41be-8007-ce41612f7294 │ │ Name │ instance-test │ │ Creation Date │ 2024-02-20 17:17:23 +0000 UTC │ │ Instance Type │ standard.medium │ │ Template │ Linux Ubuntu 22.04 LTS 64-bit │ │ Zone │ ch-gva-2 │ │ Anti-Affinity Groups │ n/a │ │ Deploy Target │ - │ │ Security Groups │ default │ │ Private Instance │ No │ │ Private Networks │ n/a │ │ Elastic IPs │ n/a │ │ IP Address │x.x.x.x │ │ IPv6 Address │ - │ │ SSH Key │ - │ │ Disk Size │ 50 GiB │ │ State │ running │ │ Labels │ n/a │ │ Reverse DNS │ │ ┼──────────────────────┼──────────────────────────────────────┼