mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-28 02:18:36 +00:00
21 lines
2.0 KiB
Markdown
21 lines
2.0 KiB
Markdown
# Virtual Machine Disk
|
|
|
|
A Virtual Machine Disk
|
|
|
|
## Parameters
|
|
|
|
### Common parameters
|
|
|
|
| Name | Description | Type | Value |
|
|
| ------------------- | ------------------------------------------------------------------------------------------------------------------------ | ---------- | ------------ |
|
|
| `source` | The source image location used to create a disk. | `object` | `{}` |
|
|
| `source.image` | Use image by name. | `*object` | `null` |
|
|
| `source.image.name` | Name of the image to use (uploaded as "golden image" or from the list: `ubuntu`, `fedora`, `cirros`, `alpine`, `talos`). | `string` | `""` |
|
|
| `source.upload` | Upload local image. | `*object` | `null` |
|
|
| `source.http` | Download image from an HTTP source. | `*object` | `null` |
|
|
| `source.http.url` | URL to download the image. | `string` | `""` |
|
|
| `optical` | Defines if disk should be considered optical. | `bool` | `false` |
|
|
| `storage` | The size of the disk allocated for the virtual machine. | `quantity` | `5Gi` |
|
|
| `storageClass` | StorageClass used to store the data. | `string` | `replicated` |
|
|
|