You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: qemu_artifact.md
+24-19Lines changed: 24 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,13 @@ Given the size of the image, the first VM using it on a node might take a while
13
13
We launch an Ubuntu 22 bare-metal instance; we're using the `c6g.metal` instance type in this case, but any ARM instance type is sufficient for our purposes. In the example below the region used is: `ap-south-1`.
@@ -91,8 +93,9 @@ Following `make init container-disk-image`, the generated image should be found
91
93
92
94
For a tighter iteration loop on the Postgres artifact, the recommended workflow is to do so on an Ubuntu bare-metal node that's part of the EKS cluster that you're deploying to.
93
95
94
-
- Use the `host-disk` make target to build the raw image file on disk. (`/path/to/postgres/disk/focal-raw.img`)
95
-
- Update the VM spec to use `hostDisk` instead of `containerDisk`. Note that only one VM can use an image at a time, so you can't create multiple VMs backed by the same host disk.
96
+
- Instead of running `make init container-disk-image`, use `make init host-disk` instead to build the raw image file on disk. (`/path/to/postgres/disk/focal-raw.img`)
97
+
- Update the VM spec to use `hostDisk` instead of `containerDisk`
98
+
- Note that only one VM can use an image at a time, so you can't create multiple VMs backed by the same host disk.
96
99
- Enable the `HostDisk` feature flag for KubeVirt
97
100
- Deploy the VM to the node
98
101
@@ -102,11 +105,13 @@ Additionally, to iterate on the container image part of things, you can build th
102
105
103
106
Installing `docker.io` on an EKS node might interfere with the k8s setup of the node. You can instead install `nerdctl` and `buildkit`:
0 commit comments