Skip to content
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

Update modify-volume.md #1816

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update modify-volume.md
Update "typo" in aws ec2 api call for describe-volumes (i.e. --volume-ids)
  • Loading branch information
sebastianlzy authored Oct 30, 2023
commit 2d3aed78f0e0e28bfc387d63fecd54574182de08
4 changes: 2 additions & 2 deletions docs/modify-volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Events:
```
$ pv=$(k get -o json pvc ebs-claim | jq -r '.spec | .volumeName')
$ volumename=$(k get -o json pv $pv | jq -r '.spec | .csi | .volumeHandle')
$ aws ec2 describe-volumes —volume-id $volumename | jq '.Volumes[] | "\(.VolumeType) \(.Iops) \(.Throughput)"'
$ aws ec2 describe-volumes —volume-ids $volumename | jq '.Volumes[] | "\(.VolumeType) \(.Iops) \(.Throughput)"'
"gp3 3000 125"
```

Expand Down Expand Up @@ -195,7 +195,7 @@ Do **NOT** delete these annotations. These annotations are used by the sidecar t

#### 6) (Optional) Validate the volume has been modified in EBS.
```
$ aws ec2 describe-volumes --volume-id $volumename | jq '.Volumes[] | "\(.VolumeType) \(.Iops) \(.Throughput)"'
$ aws ec2 describe-volumes --volume-ids $volumename | jq '.Volumes[] | "\(.VolumeType) \(.Iops) \(.Throughput)"'
"io2 4000 null"
```