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

Fix: modify-volume doc typo #2313

Merged
merged 1 commit into from
Jan 27, 2025
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
12 changes: 6 additions & 6 deletions docs/modify-volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
storageClassName: ebs-sc
resources:
requests:
storage: 100Gi
storage: 10Gi
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
Expand Down Expand Up @@ -110,7 +110,7 @@ Annotations: pv.kubernetes.io/bind-completed: yes
volume.kubernetes.io/selected-node: ip-192-168-32-79.ec2.internal
volume.kubernetes.io/storage-provisioner: ebs.csi.aws.com
Finalizers: [kubernetes.io/pvc-protection]
Capacity: 100Gi
Capacity: 10Gi
Access Modes: RWO
VolumeMode: Filesystem
Used By: app
Expand All @@ -128,7 +128,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-ids $volumename | jq '.Volumes[] | "\(.VolumeType) \(.Iops) \(.Throughput)"'
$ aws ec2 describe-volumes --volume-ids $volumename | jq '.Volumes[] | "\(.VolumeType) \(.Iops) \(.Throughput)"'
"gp3 3000 125"
```

Expand All @@ -148,7 +148,7 @@ spec:
storageClassName: ebs-sc
resources:
requests:
storage: 100Gi
storage: 10Gi
```

#### 5) Verify the volume has been updated successfully.
Expand All @@ -170,7 +170,7 @@ Annotations: ebs.csi.aws.com/iops: 4000
volume.kubernetes.io/selected-node: ip-192-168-88-208.us-east-2.compute.internal
volume.kubernetes.io/storage-provisioner: ebs.csi.aws.com
Finalizers: [kubernetes.io/pvc-protection]
Capacity: 100Gi
Capacity: 10Gi
Access Modes: RWO
VolumeMode: Filesystem
Used By: app
Expand Down Expand Up @@ -204,7 +204,7 @@ Claim: default/ebs-claim
Reclaim Policy: Delete
Access Modes: RWO
VolumeMode: Filesystem
Capacity: 100Gi
Capacity: 10Gi
Node Affinity:
Required Terms:
Term 0: topology.ebs.csi.aws.com/zone in [us-east-2b]
Expand Down
Loading