From 6663ae0f7630884b8bae4067a1dc0c67907e0f6e Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Fri, 31 May 2024 23:11:03 +0000 Subject: [PATCH] Fix some wrong and missing GKE network config docs (#10849) Co-authored-by: Zhenhua Li [upstream:7c6c2b7517578d7da20ce8eae99d37f34aa20a05] Signed-off-by: Modular Magician --- website/docs/r/container_cluster.html.markdown | 6 ------ website/docs/r/container_node_pool.html.markdown | 11 +++++++++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/website/docs/r/container_cluster.html.markdown b/website/docs/r/container_cluster.html.markdown index 3e0228f168d..3b7c6f6d39c 100644 --- a/website/docs/r/container_cluster.html.markdown +++ b/website/docs/r/container_cluster.html.markdown @@ -973,12 +973,6 @@ sole_tenant_config { * `enable_nested_virtualization`- (Optional) Defines whether the instance should have nested virtualization enabled. Defaults to false. -* `network_performance_config` - (Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html)) Network bandwidth tier configuration. - -The `network_performance_config` block supports: - -* `total_egress_bandwidth_tier` (Required) - Specifies the total network bandwidth tier for the NodePool. - The `ephemeral_storage_config` block supports: * `local_ssd_count` (Required) - Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. diff --git a/website/docs/r/container_node_pool.html.markdown b/website/docs/r/container_node_pool.html.markdown index 0df385456be..0eef0860063 100644 --- a/website/docs/r/container_node_pool.html.markdown +++ b/website/docs/r/container_node_pool.html.markdown @@ -224,6 +224,9 @@ cluster. * `additional_pod_network_configs` - (Optional, Beta) We specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the node. Structure is [documented below](#nested_additional_pod_network_configs) +* `pod_cidr_overprovision_config` - (Optional) Configuration for node-pool level pod cidr overprovision. If not set, the cluster level setting will be inherited. Structure is [documented below](#pod_cidr_overprovision_config). + +* `network_performance_config` - (Optional) Network bandwidth tier configuration. Structure is [documented below](#network_performance_config). The `additional_node_network_configs` block supports: @@ -239,6 +242,14 @@ cluster. * `max_pods_per_node` - The maximum number of pods per node which use this pod network. +The `network_performance_config` block supports: + +* `total_egress_bandwidth_tier` (Required) - Specifies the total network bandwidth tier for the NodePool. + +The `pod_cidr_overprovision_config` block supports: + +* `disabled` (Required) - Whether pod cidr overprovision is disabled. + The `upgrade_settings` block supports: * `max_surge` - (Optional) The number of additional nodes that can be added to the node pool during