Skip to content

Commit

Permalink
allow updating disk_type, disk_size_gb, machine_type, enable_gcfs in …
Browse files Browse the repository at this point in the history
…place

Signed-off-by: drfaust92 <[email protected]>
  • Loading branch information
DrFaust92 committed Nov 26, 2024
1 parent 9a1f4ea commit 4dfa66a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions autogen/main/cluster.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -718,8 +718,6 @@ resource "google_container_cluster" "primary" {
{% if update_variant %}
locals {
force_node_pool_recreation_resources = [
"disk_size_gb",
"disk_type",
"accelerator_count",
"accelerator_type",
"gpu_partition_size",
Expand All @@ -732,15 +730,13 @@ locals {
{% if beta_cluster %}
"local_ssd_ephemeral_count",
{% endif %}
"machine_type",
"placement_policy",
"max_pods_per_node",
"min_cpu_platform",
"pod_range",
"preemptible",
"spot",
"service_account",
"enable_gcfs",
"enable_gvnic",
"boot_disk_kms_key",
"queued_provisioning",
Expand Down
4 changes: 0 additions & 4 deletions modules/beta-private-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,6 @@ resource "google_container_cluster" "primary" {
*****************************************/
locals {
force_node_pool_recreation_resources = [
"disk_size_gb",
"disk_type",
"accelerator_count",
"accelerator_type",
"gpu_partition_size",
Expand All @@ -622,15 +620,13 @@ locals {
"enable_integrity_monitoring",
"local_ssd_count",
"local_ssd_ephemeral_count",
"machine_type",
"placement_policy",
"max_pods_per_node",
"min_cpu_platform",
"pod_range",
"preemptible",
"spot",
"service_account",
"enable_gcfs",
"enable_gvnic",
"boot_disk_kms_key",
"queued_provisioning",
Expand Down
4 changes: 0 additions & 4 deletions modules/beta-public-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,6 @@ resource "google_container_cluster" "primary" {
*****************************************/
locals {
force_node_pool_recreation_resources = [
"disk_size_gb",
"disk_type",
"accelerator_count",
"accelerator_type",
"gpu_partition_size",
Expand All @@ -601,15 +599,13 @@ locals {
"enable_integrity_monitoring",
"local_ssd_count",
"local_ssd_ephemeral_count",
"machine_type",
"placement_policy",
"max_pods_per_node",
"min_cpu_platform",
"pod_range",
"preemptible",
"spot",
"service_account",
"enable_gcfs",
"enable_gvnic",
"boot_disk_kms_key",
"queued_provisioning",
Expand Down
4 changes: 0 additions & 4 deletions modules/private-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,6 @@ resource "google_container_cluster" "primary" {
*****************************************/
locals {
force_node_pool_recreation_resources = [
"disk_size_gb",
"disk_type",
"accelerator_count",
"accelerator_type",
"gpu_partition_size",
Expand All @@ -573,15 +571,13 @@ locals {
"enable_secure_boot",
"enable_integrity_monitoring",
"local_ssd_count",
"machine_type",
"placement_policy",
"max_pods_per_node",
"min_cpu_platform",
"pod_range",
"preemptible",
"spot",
"service_account",
"enable_gcfs",
"enable_gvnic",
"boot_disk_kms_key",
"queued_provisioning",
Expand Down

0 comments on commit 4dfa66a

Please sign in to comment.