hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.51k stars 4.6k forks source link

Support setting GPU MIG instance profiles on AKS node pools #23880

Closed somehowadev closed 9 months ago

somehowadev commented 9 months ago

Is there an existing issue for this?

Community Note

Description

It is possible to create GPU node pools in AKS with MIG instance profiles.

It would be ideal if azurerm_kubernetes_cluster_node_pool supported this new property.

If the property is changed, the resource would need to be recreated.

New or Affected Resource(s)/Data Source(s)

azurerm_kubernetes_cluster_node_pool

Potential Terraform Configuration

resource "azurerm_kubernetes_cluster_node_pool" "example" {
  name                  = "internal"
  kubernetes_cluster_id = azurerm_kubernetes_cluster.example.id
  vm_size               = "Standard_NC96ads_A100_v4"
  node_count            = 1

  mig_strategy          = "MIG7g"

  tags = {
    Environment = "Production"
  }
}

References

rcskosir commented 9 months ago

Thank you for taking the time to open this issue. Please subscribe to PR #23887 created by @ms-henglu for this issue.

github-actions[bot] commented 4 months ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.