threefoldtech / terraform-provider-grid

Apache License 2.0
8 stars 5 forks source link

terraform GPU support #660

Closed xmonader closed 1 year ago

xmonader commented 1 year ago

https://github.com/threefoldtech/home/issues/1392

https://github.com/threefoldtech/zos/pull/1973

ashraffouda commented 1 year ago

changes needed to integrate GPU changes 1- change node schema to include has_gpu and extra_fees in grid_proxy part of this https://github.com/threefoldtech/tfgrid-sdk-go/issues/201 2- change scheduler to filter out nodes with has_gpu option 3- add listGPU method to the tfgrid_sdk_go in grid_client node.go part of https://github.com/threefoldtech/tfgrid-sdk-go/issues/164 4- change vms schema in resource_deployment to accept GPU (list of GPU ids that will be used by the vm) 5- update scheduler.go and deployment.go to reflect new schema changes

ashraffouda commented 1 year ago

gpu support added here https://github.com/threefoldtech/terraform-provider-grid/pull/684

A-Harby commented 1 year ago

Verified on Development_2.0.0 Vm was successfully deployed image And GPU card was listed image (But I had to change flist to the Ubuntu, used is Alpine)