gardener / machine-controller-manager-provider-gcp

Gardener machine controller manager provider for GCP
Apache License 2.0
3 stars 27 forks source link

Adds GPU support #41

Closed himanshu-kun closed 2 years ago

himanshu-kun commented 2 years ago

What this PR does / why we need it: Fields regarding GPU have been introduced in the providerConfig. These expose two fields:

  1. acceleratorType
  2. count

live-migration for VM is not allowed for VM with GPU attached, so onHostMigration=TERMINATE needs to be configured if using MCM directly

Which issue(s) this PR fixes: Fixes # a part of https://github.com/gardener/gardener-extension-provider-gcp/issues/132 Special notes for your reviewer: Release note:

VM with GPU attached can now be created on GCP. Note for a2 series machine , no need to specify `acceleratorType` and `count` as it already comes with inbuilt GPU.
himanshu-kun commented 2 years ago

/invite @ashwani2k