terraform-provider-rancher2
terraform-provider-rancher2 copied to clipboard
PCI Devices on vSphere
Hello,
We're running a couple of RKE2 clusters, managed via Rancher server using Terraform.
We have some GPUs in those clusters, which currently get added to nodes manually. Once we provision nodes via Terraform, we power them down, add the GPU, then power them back up again.
I am wondering if it is possible to add PCI devices to vSphere VMs via the Rancher2 terraform provider? If not, is this something you would consider as a feature request please?
+1, also needing this, running RKE2 w/ Rancher 2.7.3
We're using NVIDIA Grid for vGPU, but the ability to add any of the three types would be useful.
+1, also need tis
+1 Would be great to have support for adding PCI devices (e.g. NVIDIA GPU)
+1, running on harvester 1.1 and rancher 2.7.6
Most likely we can automate this by updating each VM manifest (which is of type kubevirt.io.virtualmachine) following: https://kubevirt.io/user-guide/virtual_machines/host-devices/#preparation-of-mediated-devices-such-as-vgpu
And then, to fully automate this we can create a Harvester Addon that will run a CronJob to assign the right PCI device to each VM by updating each VM manifests.