From 7baaae8c17c62ed5cce4e626b8a0c7b907d64d18 Mon Sep 17 00:00:00 2001 From: Igor Kanshyn Date: Tue, 17 Oct 2023 13:36:43 -0400 Subject: [PATCH] Updated documentation for network_plugin_mode. Signed-off-by: Igor Kanshyn --- docs/data-sources/akscluster.md | 3 ++- docs/resources/akscluster.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/data-sources/akscluster.md b/docs/data-sources/akscluster.md index 3e5549a6c..3a4395eae 100644 --- a/docs/data-sources/akscluster.md +++ b/docs/data-sources/akscluster.md @@ -105,7 +105,8 @@ Optional: - `dns_service_ip` (String) IP address assigned to the Kubernetes DNS service. This key can only be set when the network_config.network_plugin key is set to 'azure'. - `docker_bridge_cidr` (String) A CIDR notation IP range assigned to the Docker bridge network - `load_balancer_sku` (String) Load balancer SKU -- `network_plugin` (String) Network plugin. Set the value of this key to 'azure' if you want to specify values for network_config.dns_service_ip and/or network_config.service_cidr. +- `network_plugin` (String) Network plugin. It is used for building Kubernetes network. Allowed values: azure, kubenet. Specify 'azure' for routable pod IPs from VNET, 'kubenet' for non-routable pod IPs with an overlay network, Defaults to 'kubenet' +- `network_plugin_mode` (String) Network plugin mode. Allowed values: overlay. Used to control the mode the network plugin should operate in. For example, 'overlay' used with networkPlugin=azure will use an overlay network (non-VNET IPs) for pods in the cluster. - `network_policy` (String) Network policy - `pod_cidr` (List of String) CIDR notation IP ranges from which to assign pod IPs - `service_cidr` (List of String) CIDR notation IP ranges from which to assign service cluster IP. This key can only be set when the network_config.network_plugin key is set to 'azure'. diff --git a/docs/resources/akscluster.md b/docs/resources/akscluster.md index 59c8a4efd..73c8af430 100644 --- a/docs/resources/akscluster.md +++ b/docs/resources/akscluster.md @@ -146,7 +146,8 @@ Optional: - `dns_service_ip` (String) IP address assigned to the Kubernetes DNS service. This key can only be set when the network_config.network_plugin key is set to 'azure'. - `docker_bridge_cidr` (String) A CIDR notation IP range assigned to the Docker bridge network - `load_balancer_sku` (String) Load balancer SKU -- `network_plugin` (String) Network plugin. Set the value of this key to 'azure' if you want to specify values for network_config.dns_service_ip and/or network_config.service_cidr. +- `network_plugin` (String) Network plugin. It is used for building Kubernetes network. Allowed values: azure, kubenet. Specify 'azure' for routable pod IPs from VNET, 'kubenet' for non-routable pod IPs with an overlay network, Defaults to 'kubenet' +- `network_plugin_mode` (String) Network plugin mode. Allowed values: overlay. Used to control the mode the network plugin should operate in. For example, 'overlay' used with networkPlugin=azure will use an overlay network (non-VNET IPs) for pods in the cluster. - `network_policy` (String) Network policy - `pod_cidr` (List of String) CIDR notation IP ranges from which to assign pod IPs - `service_cidr` (List of String) CIDR notation IP ranges from which to assign service cluster IP. This key can only be set when the network_config.network_plugin key is set to 'azure'.