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
Copy file name to clipboardExpand all lines: website/docs/r/kubernetes_cluster.html.markdown
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -658,10 +658,12 @@ A `microsoft_defender` block supports the following:
658
658
659
659
A `network_profile` block supports the following:
660
660
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`.
661
+
*`network_plugin` - (Required) Network plugin to use for networking. Currently supported values are `azure`, `kubenet` and `none`
662
662
663
663
~> **Note:** When `network_plugin` is set to `azure` - the `pod_cidr` field must not be set, unless specifying `network_plugin_mode` to `overlay`.
664
664
665
+
~> **Note:** Changing `network_plugin` forces a new resource to be created, except when upgrading from `kubenet` to `azure` with `network_plugin_mode` set to `overlay`.
666
+
665
667
*`network_mode` - (Optional) Network mode to be used with Azure CNI. Possible values are `bridge` and `transparent`. Changing this forces a new resource to be created.
666
668
667
669
~> **Note:**`network_mode` can only be set to `bridge` for existing Kubernetes Clusters and cannot be used to provision new Clusters - this will be removed by Azure in the future.
@@ -694,9 +696,13 @@ A `network_profile` block supports the following:
694
696
695
697
-> **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).
696
698
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.
699
+
*`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`.
700
+
701
+
~> **Note:** Once `pod_cidr` has been set, changing it forces a new resource to be created.
702
+
703
+
*`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.
698
704
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.
705
+
~> **Note:** Once `pod_cidrs`has been set, changing it forces a new resource to be created.
700
706
701
707
*`service_cidr` - (Optional) The Network Range used by the Kubernetes service. Changing this forces a new resource to be created.
0 commit comments