You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: `Whether we should enable the network policy addon for the master. This must be enabled in order to enable network policy for the nodes. To enable this, you must also define a network_policy block, otherwise nothing will happen. It can only be disabled if the nodes already do not have network policies enabled. Defaults to disabled; set disabled = false to enable.`,
233
+
Type: schema.TypeList,
234
+
Optional: true,
235
+
Computed: true,
236
+
AtLeastOneOf: addonsConfigKeys,
237
+
MaxItems: 1,
238
+
Description: `Whether we should enable the network policy addon for the master. This must be enabled in order to enable network policy for the nodes. To enable this, you must also define a network_policy block, otherwise nothing will happen. It can only be disabled if the nodes already do not have network policies enabled. Defaults to disabled; set disabled = false to enable.`,
// This field is Optional + Computed because we automatically set the
365
367
// enabled value to false if the block is not returned in API responses.
366
-
Optional: true,
367
-
Computed: true,
368
-
Description: `Per-cluster configuration of Node Auto-Provisioning with Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs of the cluster's workload. See the guide to using Node Auto-Provisioning for more details.`,
368
+
Optional: true,
369
+
Computed: true,
370
+
Description: `Per-cluster configuration of Node Auto-Provisioning with Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs of the cluster's workload. See the guide to using Node Auto-Provisioning for more details.`,
Description: `Enable Shielded Nodes features on all nodes in this cluster.`,
498
+
ConflictsWith: []string{"enable_autopilot"},
499
+
},
500
+
501
+
"enable_autopilot": {
490
502
Type: schema.TypeBool,
491
503
Optional: true,
492
-
Default: false,
493
-
Description: `Enable Shielded Nodes features on all nodes in this cluster. Defaults to false.`,
504
+
ForceNew: true,
505
+
Description: `Enable Autopilot for this cluster.`,
506
+
// ConflictsWith: many fields, see https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-overview#comparison. The conflict is only set one-way, on other fields w/ this field.
494
507
},
495
508
496
509
"authenticator_groups_config": {
497
-
Type: schema.TypeList,
498
-
Optional: true,
499
-
Computed: true,
500
-
ForceNew: true,
501
-
MaxItems: 1,
502
-
Description: `Configuration for the Google Groups for GKE feature.`,
510
+
Type: schema.TypeList,
511
+
Optional: true,
512
+
Computed: true,
513
+
ForceNew: true,
514
+
MaxItems: 1,
515
+
Description: `Configuration for the Google Groups for GKE feature.`,
Description: `List of node pools associated with this cluster. See google_container_node_pool for schema. Warning: node pools defined inside a cluster can't be changed (or added/removed) after cluster creation without deleting and recreating the entire cluster. Unless you absolutely need the ability to say "these are the only node pools associated with this cluster", use the google_container_node_pool resource instead of this property.`,
821
+
Description: `List of node pools associated with this cluster. See google_container_node_pool for schema. Warning: node pools defined inside a cluster can't be changed (or added/removed) after cluster creation without deleting and recreating the entire cluster. Unless you absolutely need the ability to say "these are the only node pools associated with this cluster", use the google_container_node_pool resource instead of this property.`,
Description: `Configuration of cluster IP allocation for VPC-native clusters. Adding this block enables IP aliasing, making the cluster VPC-native instead of routes-based.`,
Description: `If true, deletes the default node pool upon cluster creation. If you're using google_container_node_pool resources with no default node pool, this should be set to true, alongside setting initial_node_count to at least 1.`,
960
+
Type: schema.TypeBool,
961
+
Optional: true,
962
+
Description: `If true, deletes the default node pool upon cluster creation. If you're using google_container_node_pool resources with no default node pool, this should be set to true, alongside setting initial_node_count to at least 1.`,
Description: `The default maximum number of pods per node in this cluster. This doesn't work on "routes-based" clusters, clusters that don't have IP Aliasing enabled.`,
1045
+
Type: schema.TypeInt,
1046
+
Optional: true,
1047
+
ForceNew: true,
1048
+
Computed: true,
1049
+
Description: `The default maximum number of pods per node in this cluster. This doesn't work on "routes-based" clusters, clusters that don't have IP Aliasing enabled.`,
0 commit comments