Skip to content

Commit bd52700

Browse files
committed
remove gpu from default node pool, since it's weired to use gpu instance in system node pool
1 parent 749123d commit bd52700

3 files changed

Lines changed: 0 additions & 9 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ No modules.
314314
| <a name="input_create_role_assignment_network_contributor"></a> [create\_role\_assignment\_network\_contributor](#input\_create\_role\_assignment\_network\_contributor) | (Deprecated) Create a role assignment for the AKS Service Principal to be a Network Contributor on the subnets used for the AKS Cluster | `bool` | `false` | no |
315315
| <a name="input_create_role_assignments_for_application_gateway"></a> [create\_role\_assignments\_for\_application\_gateway](#input\_create\_role\_assignments\_for\_application\_gateway) | (Optional) Whether to create the corresponding role assignments for application gateway or not. Defaults to `true`. | `bool` | `true` | no |
316316
| <a name="input_default_node_pool_fips_enabled"></a> [default\_node\_pool\_fips\_enabled](#input\_default\_node\_pool\_fips\_enabled) | (Optional) Should the nodes in this Node Pool have Federal Information Processing Standard enabled? Changing this forces a new resource to be created. | `bool` | `null` | no |
317-
| <a name="input_default_node_pool_gpu_instance"></a> [default\_node\_pool\_gpu\_instance](#input\_default\_node\_pool\_gpu\_instance) | (Optional) Specifies the GPU MIG instance profile for supported GPU VM SKU for cluster's default node pool. The allowed values are `MIG1g`, `MIG2g`, `MIG3g`, `MIG4g` and `MIG7g`. Changing this forces a new resource to be created. | `string` | `null` | no |
318317
| <a name="input_disk_encryption_set_id"></a> [disk\_encryption\_set\_id](#input\_disk\_encryption\_set\_id) | (Optional) The ID of the Disk Encryption Set which should be used for the Nodes and Volumes. More information [can be found in the documentation](https://docs.microsoft.com/azure/aks/azure-disk-customer-managed-keys). Changing this forces a new resource to be created. | `string` | `null` | no |
319318
| <a name="input_ebpf_data_plane"></a> [ebpf\_data\_plane](#input\_ebpf\_data\_plane) | (Optional) Specifies the eBPF data plane used for building the Kubernetes network. Possible value is `cilium`. Changing this forces a new resource to be created. | `string` | `null` | no |
320319
| <a name="input_enable_auto_scaling"></a> [enable\_auto\_scaling](#input\_enable\_auto\_scaling) | Enable node pool autoscaling | `bool` | `false` | no |

main.tf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ resource "azurerm_kubernetes_cluster" "main" {
5959
enable_host_encryption = var.enable_host_encryption
6060
enable_node_public_ip = var.enable_node_public_ip
6161
fips_enabled = var.default_node_pool_fips_enabled
62-
gpu_instance = var.default_node_pool_gpu_instance
6362
max_count = null
6463
max_pods = var.agents_max_pods
6564
min_count = null
@@ -162,7 +161,6 @@ resource "azurerm_kubernetes_cluster" "main" {
162161
enable_host_encryption = var.enable_host_encryption
163162
enable_node_public_ip = var.enable_node_public_ip
164163
fips_enabled = var.default_node_pool_fips_enabled
165-
gpu_instance = var.default_node_pool_gpu_instance
166164
max_count = var.agents_max_count
167165
max_pods = var.agents_max_pods
168166
min_count = var.agents_min_count

variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -436,12 +436,6 @@ variable "default_node_pool_fips_enabled" {
436436
description = " (Optional) Should the nodes in this Node Pool have Federal Information Processing Standard enabled? Changing this forces a new resource to be created."
437437
}
438438

439-
variable "default_node_pool_gpu_instance" {
440-
type = string
441-
default = null
442-
description = "(Optional) Specifies the GPU MIG instance profile for supported GPU VM SKU for cluster's default node pool. The allowed values are `MIG1g`, `MIG2g`, `MIG3g`, `MIG4g` and `MIG7g`. Changing this forces a new resource to be created."
443-
}
444-
445439
variable "disk_encryption_set_id" {
446440
type = string
447441
default = null

0 commit comments

Comments
 (0)