Skip to content

Commit 079cf83

Browse files
authored
fix(gke): Update DRANET defaults and gke-a4x yaml (#5835) (#5843)
2 parents 4a9fbbf + 96e9fe6 commit 079cf83

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

examples/gke-a4x/gke-a4x.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ deployment_groups:
157157
enable_dcgm_monitoring: true
158158
enable_gcsfuse_csi: true
159159
enable_managed_lustre_csi: true # Enable Managed Lustre for the cluster
160+
enable_dataplane_v2: true
160161
enable_k8s_beta_apis:
161162
- "resource.k8s.io/v1beta1/deviceclasses"
162163
- "resource.k8s.io/v1beta1/resourceclaims"

modules/compute/gke-node-pool/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ limitations under the License.
346346
| <a name="input_disk_type"></a> [disk\_type](#input\_disk\_type) | Disk type for each node. | `string` | `null` | no |
347347
| <a name="input_dranet_allocation_mode"></a> [dranet\_allocation\_mode](#input\_dranet\_allocation\_mode) | Allocation mode for the auto-applied DRANET ResourceClaimTemplate (e.g., 'All' or 'ExactCount'). | `string` | `"All"` | no |
348348
| <a name="input_dranet_device_class_name"></a> [dranet\_device\_class\_name](#input\_dranet\_device\_class\_name) | DRA device class name. Default is mrdma.google.com (RDMA). Set to netdev.google.com for non-RDMA machines. | `string` | `"mrdma.google.com"` | no |
349-
| <a name="input_enable_dranet"></a> [enable\_dranet](#input\_enable\_dranet) | Enable GKE managed Dynamic Resource Allocation (DRA) driver for networking (DRANET) and Accelerator Network Profile (ANP). If null, automatically enabled for supported GPU/TPU nodes on GKE 1.34.1-gke.1829001 or later when Dataplane V2 is enabled on the cluster. | `bool` | `null` | no |
349+
| <a name="input_enable_dranet"></a> [enable\_dranet](#input\_enable\_dranet) | Enable GKE managed Dynamic Resource Allocation (DRA) driver for networking (DRANET) and Accelerator Network Profile (ANP). When set to true, this enables the driver for supported GPU/TPU nodes on GKE 1.34.1-gke.1829001 or later when Dataplane V2 is enabled on the cluster. | `bool` | `false` | no |
350350
| <a name="input_enable_flex_start"></a> [enable\_flex\_start](#input\_enable\_flex\_start) | If true, start the node pool with Flex Start provisioning model.<br/>To learn more about flex-start mode, please refer to<br/>https://cloud.google.com/kubernetes-engine/docs/how-to/dws-flex-start-training and<br/>https://cloud.google.com/kubernetes-engine/docs/how-to/provisioningrequest | `bool` | `false` | no |
351351
| <a name="input_enable_gcfs"></a> [enable\_gcfs](#input\_enable\_gcfs) | Enable the Google Container Filesystem (GCFS). See [restrictions](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster#gcfs_config). | `bool` | `false` | no |
352352
| <a name="input_enable_numa_aware_scheduling"></a> [enable\_numa\_aware\_scheduling](#input\_enable\_numa\_aware\_scheduling) | Enable [NUMA-aware](https://cloud.google.com/kubernetes-engine/distributed-cloud/bare-metal/docs/vm-runtime/numa) scheduling. | `bool` | `false` | no |

modules/compute/gke-node-pool/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,8 @@ variable "enable_numa_aware_scheduling" {
504504

505505
variable "enable_dranet" {
506506
type = bool
507-
default = null
508-
description = "Enable GKE managed Dynamic Resource Allocation (DRA) driver for networking (DRANET) and Accelerator Network Profile (ANP). If null, automatically enabled for supported GPU/TPU nodes on GKE 1.34.1-gke.1829001 or later when Dataplane V2 is enabled on the cluster."
507+
default = false
508+
description = "Enable GKE managed Dynamic Resource Allocation (DRA) driver for networking (DRANET) and Accelerator Network Profile (ANP). When set to true, this enables the driver for supported GPU/TPU nodes on GKE 1.34.1-gke.1829001 or later when Dataplane V2 is enabled on the cluster."
509509
}
510510

511511
variable "autoscaling_min_node_count" {

0 commit comments

Comments
 (0)