Image Templates
Images are template files used for creating new virtual machines and bare metal. The following are explanations of some terms.
-
Image: Template files used for creating cloud servers (virtual machines) and bare metal (physical machines). Common types are qcow2, vmdk, raw, vhd, iso.
-
Guest Image: Only used for creating virtual machines. Save the entire virtual machine as an image through the virtual machine operation's save image function, etc. You can create virtual machines based on guest images later.
-
Image Service (glance): The cloud platform's image service is called glance, used to store and convert images uploaded by users or imported externally, and provide download functionality.
-
Cached Image: When creating public/private cloud virtual machines, you can directly use images already available on each cloud platform. These images are not stored in glance. The cloud platform only saves metadata and will directly use them when creating machines.
The differences between image and cached-image resources are as follows:
- image: Images managed by glance, uploaded by users or imported externally;
- cached-image:
- Includes images from public clouds and other private clouds, not managed by glance, generally used when creating public/private cloud hosts outside the built-in private cloud platform;
- Does not provide creation interface, only query, refresh and delete;
System Image
6 items
Guest Image
1 item
Common System Images
Display download links for common images.
Expand Backend Image Storage
Introduction to how to expand backend image storage.
切换为对象存储
Glance服务默认将镜像存储在本地的 /opt/cloud/workspace/data/glance/images 目录中,该目录通过一个本地目录的PVC提供。本地存储简单方便,但是存在glance锁死在单个节点,并且存储空间受限的缺陷。