From 5aa0c7cde16e5c5effe4efa9cca65d5baa17a47f Mon Sep 17 00:00:00 2001 From: Aris van Ommeren Date: Tue, 1 Jun 2021 19:13:43 +0200 Subject: [PATCH] Docs --- website/docs/d/kubernetes_cluster.html.markdown | 4 ++++ website/docs/d/kubernetes_cluster_node_pool.html.markdown | 2 ++ website/docs/r/kubernetes_cluster.html.markdown | 4 +++- website/docs/r/kubernetes_cluster_node_pool.html.markdown | 4 +++- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/website/docs/d/kubernetes_cluster.html.markdown b/website/docs/d/kubernetes_cluster.html.markdown index 0064987f1d63..d867b2ab76d1 100644 --- a/website/docs/d/kubernetes_cluster.html.markdown +++ b/website/docs/d/kubernetes_cluster.html.markdown @@ -114,12 +114,16 @@ A `agent_pool_profile` block exports the following: * `enable_auto_scaling` - If the auto-scaler is enabled. +* `enable_node_public_ip` - If the Public IPs for the nodes in this Agent Pool are enabled. + * `min_count` - Minimum number of nodes for auto-scaling * `max_count` - Maximum number of nodes for auto-scaling * `name` - The name assigned to this pool of agents. +* `node_public_ip_prefix_id` - Resource ID for the Public IP Addresses Prefix for the nodes in this Agent Pool. + * `os_disk_size_gb` - The size of the Agent VM's Operating System Disk in GB. * `os_type` - The Operating System used for the Agents. diff --git a/website/docs/d/kubernetes_cluster_node_pool.html.markdown b/website/docs/d/kubernetes_cluster_node_pool.html.markdown index cc068650168d..f3987b2fa856 100644 --- a/website/docs/d/kubernetes_cluster_node_pool.html.markdown +++ b/website/docs/d/kubernetes_cluster_node_pool.html.markdown @@ -60,6 +60,8 @@ In addition to the Arguments listed above - the following Attributes are exporte * `node_labels` - A map of Kubernetes Labels applied to each Node in this Node Pool. +* `node_public_ip_prefix_id` - Resource ID for the Public IP Addresses Prefix for the nodes in this Agent Pool. + * `node_taints` - A map of Kubernetes Taints applied to each Node in this Node Pool. * `orchestrator_version` - The version of Kubernetes configured on each Node in this Node Pool. diff --git a/website/docs/r/kubernetes_cluster.html.markdown b/website/docs/r/kubernetes_cluster.html.markdown index 69842bc2dba3..0c2b0a792ead 100644 --- a/website/docs/r/kubernetes_cluster.html.markdown +++ b/website/docs/r/kubernetes_cluster.html.markdown @@ -307,10 +307,12 @@ A `default_node_pool` block supports the following: * `enable_host_encryption` - (Optional) Should the nodes in the Default Node Pool have host encryption enabled? Defaults to `false`. -* `enable_node_public_ip` - (Optional) Should nodes in this Node Pool have a Public IP Address? Defaults to `false`. +* `enable_node_public_ip` - (Optional) Should nodes in this Node Pool have a Public IP Address? Defaults to `false`. Changing this forces a new resource to be created. * `max_pods` - (Optional) The maximum number of pods that can run on each agent. Changing this forces a new resource to be created. +* `node_public_ip_prefix_id` - (Optional) Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool. `enable_node_public_ip` should be `true`. Changing this forces a new resource to be created. + * `node_labels` - (Optional) A map of Kubernetes labels which should be applied to nodes in the Default Node Pool. Changing this forces a new resource to be created. * `only_critical_addons_enabled` - (Optional) Enabling this option will taint default node pool with `CriticalAddonsOnly=true:NoSchedule` taint. Changing this forces a new resource to be created. diff --git a/website/docs/r/kubernetes_cluster_node_pool.html.markdown b/website/docs/r/kubernetes_cluster_node_pool.html.markdown index eb65920fa790..d968d3485061 100644 --- a/website/docs/r/kubernetes_cluster_node_pool.html.markdown +++ b/website/docs/r/kubernetes_cluster_node_pool.html.markdown @@ -79,7 +79,7 @@ The following arguments are supported: ~> **NOTE:** Additional fields must be configured depending on the value of this field - see below. -* `enable_node_public_ip` - (Optional) Should each node have a Public IP Address? Defaults to `false`. +* `enable_node_public_ip` - (Optional) Should each node have a Public IP Address? Defaults to `false`. Changing this forces a new resource to be created. * `eviction_policy` - (Optional) The Eviction Policy which should be used for Virtual Machines within the Virtual Machine Scale Set powering this Node Pool. Possible values are `Deallocate` and `Delete`. Changing this forces a new resource to be created. @@ -91,6 +91,8 @@ The following arguments are supported: * `node_labels` - (Optional) A map of Kubernetes labels which should be applied to nodes in this Node Pool. Changing this forces a new resource to be created. +* `node_public_ip_prefix_id` - (Optional) Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool. `enable_node_public_ip` should be `true`. Changing this forces a new resource to be created. + * `node_taints` - (Optional) A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g `key=value:NoSchedule`). Changing this forces a new resource to be created. * `orchestrator_version` - (Optional) Version of Kubernetes used for the Agents. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade)