|
1 | 1 | # kubevirt-vm |
2 | 2 |
|
3 | | -   |
| 3 | +   |
4 | 4 |
|
5 | 5 | Configure a virtual machine for use with Kubevirt |
6 | 6 |
|
@@ -48,28 +48,11 @@ Configure a virtual machine for use with Kubevirt |
48 | 48 | | cloudinit.wireguard | list | `[]` | add wireguard configuration from existing secret or as plain-text See https://cloudinit.readthedocs.io/en/latest/reference/modules.html#wireguard | |
49 | 49 | | cloudinit.write_files | list | `[]` | Write arbitrary files to disk. Files my be provided as plain-text or downloaded from a url See https://cloudinit.readthedocs.io/en/latest/reference/modules.html#write-files | |
50 | 50 | | diskErrorPolicy | string | `"report"` | controls hypervisor behavior when I/O errors occur on disk read or write. Possible values are: 'report', 'ignore', 'enospace' | |
51 | | -| disks | list | `[{"bootorder":2,"bus":"virtio","name":"harddrive","pvaccessMode":"ReadWriteOnce","pvsize":"16Gi","pvstorageClassName":"fast-raid","readonly":false,"source":"url","type":"disk","url":"https://buildstars.online/debian-12-generic-amd64-daily.qcow2"}]` | List of disks to create for the VM, Will be used to create Datavolumes or PVCs. | |
52 | | -| disks[0].bootorder | int | `2` | Sets disk position in boot order, lower numbers are checked earlier | |
53 | | -| disks[0].bus | string | `"virtio"` | Bus type: sata or virtio | |
54 | | -| disks[0].pvaccessMode | string | `"ReadWriteOnce"` | Access mode for the PVC | |
55 | | -| disks[0].pvsize | string | `"16Gi"` | Size of disk in GB | |
56 | | -| disks[0].pvstorageClassName | string | `"fast-raid"` | Storage class to use for the pvc | |
57 | | -| disks[0].readonly | bool | `false` | Set disk to be Read-only | |
58 | | -| disks[0].source | string | `"url"` | source type of the disk image. One of `url`, `pvc` | |
59 | | -| disks[0].type | string | `"disk"` | Disk type: disk, cdrom, filesystem, or lun | |
60 | | -| disks[0].url | string | `"https://buildstars.online/debian-12-generic-amd64-daily.qcow2"` | URL of cloud-image | |
| 51 | +| disks | list | `[{"bootorder":1,"bus":"virtio","image":"quay.io/containerdisks/debian:13","name":"harddrive","readonly":false,"type":"disk"}]` | List of disks to create for the VM, Will be used to create Datavolumes or PVCs. | |
61 | 52 | | ingress | object | `{"annotations":{},"className":"nginx","enabled":false,"hostname":"novnc.buildstar.online","tls":[]}` | Ingress configuration | |
62 | | -| networkPolicy.egress[0].ports[0].port | int | `53` | | |
63 | | -| networkPolicy.egress[0].ports[0].protocol | string | `"UDP"` | | |
64 | | -| networkPolicy.egress[0].to[0].namespaceSelector.matchLabels."kubernetes.io/metadata.name" | string | `"kube-system"` | | |
65 | | -| networkPolicy.egress[0].to[1].podSelector.matchLabels.k8s-app | string | `"kube-dns"` | | |
66 | | -| networkPolicy.egress[1].to[0].ipBlock.cidr | string | `"0.0.0.0/0"` | | |
67 | | -| networkPolicy.egress[1].to[0].ipBlock.except[0] | string | `"10.0.0.0/8"` | | |
68 | | -| networkPolicy.egress[1].to[0].ipBlock.except[1] | string | `"172.16.0.0/12"` | | |
69 | | -| networkPolicy.egress[1].to[0].ipBlock.except[2] | string | `"192.168.0.0/16"` | | |
| 53 | +| networkPolicy.egress | list | `[]` | | |
70 | 54 | | networkPolicy.enabled | bool | `false` | Enable the creation of network policies | |
71 | | -| networkPolicy.ingress[0].from[0].namespaceSelector.matchLabels."kubernetes.io/metadata.name" | string | `"ingress-nginx"` | | |
72 | | -| networkPolicy.ingress[0].from[1].podSelector.matchLabels."app.kubernetes.io/name" | string | `"ingress-nginx"` | | |
| 55 | +| networkPolicy.ingress | list | `[]` | | |
73 | 56 | | service | list | `[]` | Service cinfiguration. Used to expose VM to the outside world. Accepts a list of ports to open. | |
74 | 57 | | userDataSecret | object | `{"enabled":false,"name":""}` | Use an existing cloud-init userdata secret ignored if cloudinit subchart is enabled. | |
75 | 58 | | virtualMachine.capiMachineTemplate | bool | `false` | Create the VM as a KubevirtMachineTemplate for use with Cluster API Does not support VM Pools | |
@@ -112,7 +95,7 @@ Configure a virtual machine for use with Kubevirt |
112 | 95 | | virtualMachine.networks[0].pod | object | `{}` | | |
113 | 96 | | virtualMachine.runStrategy | string | `"Always"` | One of 'Always' `RerunOnFailure` `Manual` `Halted` `Once` See: https://kubevirt.io/user-guide/compute/run_strategies/#runstrategy | |
114 | 97 | | virtualMachinePool.enabled | bool | `false` | | |
115 | | -| virtualMachinePool.hpa.enabled | bool | `true` | | |
| 98 | +| virtualMachinePool.hpa.enabled | bool | `false` | | |
116 | 99 | | virtualMachinePool.hpa.maxReplicas | int | `5` | | |
117 | 100 | | virtualMachinePool.hpa.minReplicas | int | `1` | | |
118 | 101 | | virtualMachinePool.replicas | int | `2` | number of replicas to create. Ignored when hpa is set to 'true' | |
|
0 commit comments