-
Notifications
You must be signed in to change notification settings - Fork 1.9k
CNV-74970: Remove callouts, fix modules #107633
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
Merged
+64
−57
Merged
Changes from all commits
Commits
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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * virt/virtual_machines/virtual_disks/virt-expanding-vm-disks.adoc | ||
|
|
||
| :_mod-docs-content-type: PROCEDURE | ||
| [id="virt-expanding-vm-disk-pvc-cli_{context}"] | ||
| = Expanding a VM disk PVC by using the CLI | ||
|
|
||
| [role="_abstract"] | ||
| You can increase the size of a virtual machine (VM) disk by expanding the persistent volume claim (PVC) of the disk. To specify the increased PVC volume, you can edit the `PersistentVolumeClaim` manifest by using the {oc-first}. | ||
|
|
||
| [NOTE] | ||
| ==== | ||
| If the PVC uses the file system volume mode, the disk image file expands to the available size while reserving some space for file system overhead. | ||
| ==== | ||
|
|
||
| .Prerequisites | ||
|
|
||
| * You have installed the {oc-first}. | ||
|
|
||
| .Procedure | ||
|
|
||
| . Edit the `PersistentVolumeClaim` manifest of the VM disk that you want to expand: | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
| $ oc edit pvc <pvc_name> | ||
| ---- | ||
|
|
||
| . Update the disk size: | ||
| + | ||
| [source,yaml] | ||
| ---- | ||
| apiVersion: v1 | ||
| kind: PersistentVolumeClaim | ||
| metadata: | ||
| name: vm-disk-expand | ||
| spec: | ||
| accessModes: | ||
| - ReadWriteMany | ||
| resources: | ||
| requests: | ||
| storage: 3Gi | ||
| # ... | ||
| ---- | ||
| ** `spec.resources.requests.storage` specifies the new disk size. |
This file contains hidden or 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
18 changes: 9 additions & 9 deletions
18
virt/managing_vms/virtual_disks/virt-expanding-vm-disks.adoc
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,29 +1,29 @@ | ||
| :_mod-docs-content-type: ASSEMBLY | ||
| include::_attributes/common-attributes.adoc[] | ||
| [id="virt-expanding-vm-disks"] | ||
| = Expanding virtual machine disks | ||
| include::_attributes/common-attributes.adoc[] | ||
| :context: virt-expanding-vm-disks | ||
|
|
||
| toc::[] | ||
|
|
||
| [role="_abstract"] | ||
| You can increase the size of a virtual machine (VM) disk by expanding the persistent volume claim (PVC) of the disk. | ||
|
|
||
| If your storage provider does not support volume expansion, you can expand the available virtual storage of a VM by adding blank data volumes. | ||
|
|
||
| You cannot reduce the size of a VM disk. | ||
|
|
||
| include::modules/virt-expanding-vm-disk-pvc.adoc[leveloffset=+1] | ||
| include::modules/virt-expanding-vm-disk-pvc-web-console.adoc[leveloffset=+1] | ||
|
|
||
| [role="_additional-resources"] | ||
| .Additional resources for volume expansion | ||
| * link:https://docs.microsoft.com/en-us/windows-server/storage/disk-management/extend-a-basic-volume[Extending a basic volume in Windows] | ||
| * link:https://access.redhat.com/solutions/29095[Extending an existing file system partition without destroying data in Red Hat Enterprise Linux] | ||
| * link:https://access.redhat.com/solutions/24770[Extending a logical volume and its file system online in Red Hat Enterprise Linux] | ||
| include::modules/virt-expanding-vm-disk-pvc-cli.adoc[leveloffset=+1] | ||
|
|
||
| include::modules/virt-expanding-storage-with-data-volumes.adoc[leveloffset=+1] | ||
|
|
||
| [role="_additional-resources"] | ||
| .Additional resources for data volumes | ||
| [id="additional-resources_{context}"] | ||
| == Additional resources | ||
| * link:https://docs.microsoft.com/en-us/windows-server/storage/disk-management/extend-a-basic-volume[Extending a basic volume in Windows] | ||
| * link:https://access.redhat.com/solutions/29095[Extending an existing file system partition without destroying data in Red Hat Enterprise Linux] | ||
| * link:https://access.redhat.com/solutions/24770[Extending a logical volume and its file system online in Red Hat Enterprise Linux] | ||
| * xref:../../../virt/storage/virt-using-preallocation-for-datavolumes.adoc#virt-using-preallocation-for-datavolumes[Configuring preallocation mode for data volumes] | ||
| * xref:../../../virt/storage/virt-managing-data-volume-annotations.adoc#virt-managing-data-volume-annotations[Managing data volume annotations] | ||
|
|
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.
Uh oh!
There was an error while loading. Please reload this page.