Skip to content

Commit

Permalink
Update virtnest-related page (DaoCloud#5606)
Browse files Browse the repository at this point in the history
  • Loading branch information
WANG0608GitHub authored Sep 23, 2024
1 parent 5a9647d commit c11a4b2
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 18 deletions.
8 changes: 4 additions & 4 deletions docs/en/docs/virtnest/install/install-dependency.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ This page explains the dependencies and prerequisites for installing virtual mac

## Prerequisites

### Kernel version being above 3.15
### Kernel version being above v4.11

The kernel version of all nodes in the target cluster needs to be higher than 3.15. For detail information,
see [kubevirt issue](https://github.com/kubevirt/kubevirt/issues/7006). Run the following command to see the version:
The kernel version of all nodes in the target cluster needs to be higher than v4.11. For detail information,
see [kubevirt issue](https://github.com/kubevirt/kubevirt/issues/11886). Run the following command to see the version:

```bash
uname -a
Expand Down Expand Up @@ -120,7 +120,7 @@ sh detect-cpu.sh
* Methods to enable hardware virtualization
Methods vary from platforms, and this page takes vsphere as an example.
Methods vary from platforms, and this page takes vsphere as an example.
See [vmware website](https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-2A98801C-68E8-47AF-99ED-00C63E4857F6.html).
### If using Docker Engine as the container runtime
Expand Down
10 changes: 5 additions & 5 deletions docs/en/docs/virtnest/install/virtnest-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ This guide explains how to install the virtnest-agent in a cluster.

Before installing the virtnest-agent, the following prerequisite must be met:

- The kernel version needs to be v3.15 or above.
- The kernel version needs to be v4.11 or above.

## Steps

To utilize the Virtual Machine (VM), the virtnest-agent component needs to be installed in the cluster using Helm.

1. Click __Container Management__ in the left navigation menu, then click __Virtual Machines__ .
If the virtnest-agent component is not installed, you will not be able to use the VM. The interface
If the virtnest-agent component is not installed, you will not be able to use the VM. The interface
will display a reminder for you to install within the required cluster.

![Instruction](https://docs.daocloud.io/daocloud-docs-images/docs/en/docs/virtnest/images/virtnest001.png)

2. Select the desired cluster, click __Helm Apps__ in the left navigation menu, then click __Helm Charts__ to
2. Select the desired cluster, click __Helm Apps__ in the left navigation menu, then click __Helm Charts__ to
view the template list.

![Helm Charts](https://docs.daocloud.io/daocloud-docs-images/docs/en/docs/virtnest/images/virtnest002.png)

3. Search for the __virtnest-agent__ component, and click to the see details. Select the appropriate version
3. Search for the __virtnest-agent__ component, and click to the see details. Select the appropriate version
and click __Install__ button to install.

![virtnest-agent](https://docs.daocloud.io/daocloud-docs-images/docs/en/docs/virtnest/images/virtnest003.png)
Expand All @@ -39,7 +39,7 @@ To utilize the Virtual Machine (VM), the virtnest-agent component needs to be in

![Install](https://docs.daocloud.io/daocloud-docs-images/docs/en/docs/virtnest/images/virtnest005.png)

5. Go back to the __Virtual Machines__ in the navigation menu. If the installation is successful,
5. Go back to the __Virtual Machines__ in the navigation menu. If the installation is successful,
you will see the VM list, and you can now use the VM.

![VM List](https://docs.daocloud.io/daocloud-docs-images/docs/en/docs/virtnest/images/virtnest006.png)
19 changes: 11 additions & 8 deletions docs/en/docs/virtnest/template/tep.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ allowing users to manage and utilize resources more flexibly.

![VM templates](../images/tem01.png)

2. Click the ____ on the right side of a template in the list. For internal templates, you can create VM and view YAML.
2. Click the ____ on the right side of a template in the list. For internal templates, you can create VM and view YAML.
For custom templates, you can create VM, edit YAML and delete template.

![Internal template](../images/tem02.png)
Expand All @@ -29,27 +29,30 @@ allowing users to manage and utilize resources more flexibly.
### Internal Template

- The platform provides CentOS and Ubuntu as templates.

![CentOS and Ubuntu](../images/vm-tem.png)

### Custom Template

Custom templates are created from VM configurations. The following steps explain how to convert a VM configuration
Custom templates are created from VM configurations. The following steps explain how to convert a VM configuration
into a template.

1. Click __Container Management__ in the left navigation menu, then click __Virtual Machines__ to access the list page.
Click the ____ on the right side of a VM in the list to convert the configuration into a template. Only running
1. Click __Container Management__ in the left navigation menu, then click __Virtual Machines__ to access the list page.
Click the ____ on the right side of a VM in the list to convert the configuration into a template. Only running
or stopped VMs can be converted.

![Convert to Template](https://docs.daocloud.io/daocloud-docs-images/docs/en/docs/virtnest/images/tep04.png)

2. Provide a name for the new template. A notification will indicate that the original VM will be preserved and
2. Provide a name for the new template. A notification will indicate that the original VM will be preserved and
remain available. After a successful conversion, a new entry will be added to the template list.

![Convert Confirmation](https://docs.daocloud.io/daocloud-docs-images/docs/en/docs/virtnest/images/tep05.png)

### Template Details

The detail page contains basic information, GPU configuration, storage and network.
After successfully creating a template, you can click the template name to view the details of the VM,
including Basic Information, GPU Settings, Storage, Network, and more. If you need to quickly deploy a
new VM based on that template, simply click the __Create VM__ button in the upper right corner of the
page for easy operation.

![Details](../images/tem-detail.png)
![Details](../images/tem-detail.png)
2 changes: 1 addition & 1 deletion docs/zh/docs/virtnest/template/tep.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@

### 模板详情

成功创建出来一个模板后,点击模板名称,可以查看虚拟机详情,包括基本信息、GPU 信息、存储、网络等。如果需要快速基于该模板部署新的虚拟机,只需点击页面右上角的创建按钮即可便捷操作
成功创建出来一个模板后,点击模板名称,可以查看虚拟机详情,包括基本信息、GPU 信息、存储、网络等。如果需要快速基于该模板部署新的虚拟机,只需点击页面右上角的 __创建虚拟机__ 按钮即可便捷操作

![模板详情](../images/tep-detail.png)

0 comments on commit c11a4b2

Please sign in to comment.