Skip to content

Commit

Permalink
Fix some wrong and missing GKE network config docs (#10849) (hashicor…
Browse files Browse the repository at this point in the history
…p#7445)

[upstream:7c6c2b7517578d7da20ce8eae99d37f34aa20a05]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored May 31, 2024
1 parent 8cc8354 commit 40747e4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
6 changes: 0 additions & 6 deletions website/docs/r/container_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<a name="network_performance_config"></a>The `network_performance_config` block supports:

* `total_egress_bandwidth_tier` (Required) - Specifies the total network bandwidth tier for the NodePool.

<a name="nested_ephemeral_storage_config"></a>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.
Expand Down
11 changes: 11 additions & 0 deletions website/docs/r/container_node_pool.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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).

<a name="nested_additional_node_network_configs"></a>The `additional_node_network_configs` block supports:

Expand All @@ -239,6 +242,14 @@ cluster.

* `max_pods_per_node` - The maximum number of pods per node which use this pod network.

<a name="network_performance_config"></a>The `network_performance_config` block supports:

* `total_egress_bandwidth_tier` (Required) - Specifies the total network bandwidth tier for the NodePool.

<a name="pod_cidr_overprovision_config"></a>The `pod_cidr_overprovision_config` block supports:

* `disabled` (Required) - Whether pod cidr overprovision is disabled.

<a name="nested_upgrade_settings"></a>The `upgrade_settings` block supports:

* `max_surge` - (Optional) The number of additional nodes that can be added to the node pool during
Expand Down

0 comments on commit 40747e4

Please sign in to comment.