https://github.com/tz1112/talos-vbox
Project for fully automated deployments of kubevirt/cdi on a talos cluster in virtualbox. Contains all configuration and asset manifests to run Linux and Windows VMs. Works for docker deployment of talos, too.
https://github.com/tz1112/talos-vbox
docker kubernets kubevirt talos virtualbox
Last synced: 3 months ago
JSON representation
Project for fully automated deployments of kubevirt/cdi on a talos cluster in virtualbox. Contains all configuration and asset manifests to run Linux and Windows VMs. Works for docker deployment of talos, too.
- Host: GitHub
- URL: https://github.com/tz1112/talos-vbox
- Owner: tz1112
- Created: 2025-01-16T11:02:38.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-01-16T11:22:44.000Z (9 months ago)
- Last Synced: 2025-03-12T11:15:59.297Z (7 months ago)
- Topics: docker, kubernets, kubevirt, talos, virtualbox
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# talos-vbox
Project for fully automated deployments of kubevirt/cdi on a talos cluster in virtualbox. Contains all configuration and asset manifests to run Linux and Windows VMs.# Sources
Combining instructions from:
1. https://www.talos.dev/v1.9/talos-guides/install/
2. https://kubevirt.io/user-guide/cluster_admin/installation/#installing-kubevirt-on-kubernetes
3. https://kubevirt.io/labs/kubernetes/lab1.html**BEWARE:** There is a bug in talos v1.9.* in checking SELinux status. Therefore, a custom patch has to be applied to the cluster as specified here: https://github.com/siderolabs/talos/issues/10083
# Instructions:
Deploy CRDs in the following order:
1. local-path-provisioner as default storeageclass (see https://github.com/kubesphere/ks-devops/discussions/30, https://www.talos.dev/v1.9/kubernetes-guides/configuration/local-storage/)
2. kubevirt
3. cdiDeployment of VM-required PVCs using the cdi-upload-proxy, for example:
```console
virtctl image-upload pvc iso-win10 --image-path=windows10.iso --access-mode=ReadWriteOnce --size=7G --uploadproxy-url=https://localhost:1338 --force-bind --insecure --wait-secs=60 --namespace testnamespace
```This requires an active upload proxy on the specified IP:PORT, for example using:
```console
kubectl port-forward service/cdi-uploadproxy 1338:443 -n cdi
```