Skip to content

Commit 0aa349a

Browse files
committed
DOCS: address review comments for PR #30959
- Clarify network_plugin upgrade from kubenet to azure requires overlay mode - Update pod_cidr/pod_cidrs to say 'Changing or removing a non-empty value'
1 parent 29fbb0f commit 0aa349a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/docs/r/kubernetes_cluster.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ A `microsoft_defender` block supports the following:
658658

659659
A `network_profile` block supports the following:
660660

661-
* `network_plugin` - (Required) Network plugin to use for networking. Currently supported values are `azure`, `kubenet` and `none`. Changing this forces a new resource to be created, except when upgrading from `kubenet` to `azure`.
661+
* `network_plugin` - (Required) Network plugin to use for networking. Currently supported values are `azure`, `kubenet` and `none`. Changing this forces a new resource to be created, except when upgrading from `kubenet` to `azure` with `network_plugin_mode` set to `overlay`.
662662

663663
~> **Note:** When `network_plugin` is set to `azure` - the `pod_cidr` field must not be set, unless specifying `network_plugin_mode` to `overlay`.
664664

@@ -694,9 +694,9 @@ A `network_profile` block supports the following:
694694

695695
-> **Note:** For more information on supported `outbound_type` migration paths please see the product [documentation](https://learn.microsoft.com/azure/aks/egress-outboundtype#updating-outboundtype-after-cluster-creation).
696696

697-
* `pod_cidr` - (Optional) The CIDR to use for pod IP addresses. This field can only be set when `network_plugin` is set to `kubenet` or `network_plugin_mode` is set to `overlay`. Changing a non-empty value forces a new resource to be created.
697+
* `pod_cidr` - (Optional) The CIDR to use for pod IP addresses. This field can only be set when `network_plugin` is set to `kubenet` or `network_plugin_mode` is set to `overlay`. Changing or removing a non-empty value forces a new resource to be created.
698698

699-
* `pod_cidrs` - (Optional) A list of CIDRs to use for pod IP addresses. For single-stack networking a single IPv4 CIDR is expected. For dual-stack networking an IPv4 and IPv6 CIDR are expected. Changing a non-empty value forces a new resource to be created.
699+
* `pod_cidrs` - (Optional) A list of CIDRs to use for pod IP addresses. For single-stack networking a single IPv4 CIDR is expected. For dual-stack networking an IPv4 and IPv6 CIDR are expected. Changing or removing a non-empty value forces a new resource to be created.
700700

701701
* `service_cidr` - (Optional) The Network Range used by the Kubernetes service. Changing this forces a new resource to be created.
702702

0 commit comments

Comments
 (0)