Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
wyarde committed Feb 27, 2020
1 parent bbc9e6d commit 601b1ca
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/docs/d/kubernetes_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,18 @@ A `agent_pool_profile` block exports the following:

* `name` - The name assigned to this pool of agents.

* `node_taints` - The list of Kubernetes taints which are applied to nodes in the 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.

* `tags` - A mapping of tags to assign to the resource.

* `vm_size` - The size of each VM in the Agent Pool (e.g. `Standard_F1`).

* `vnet_subnet_id` - The ID of the Subnet where the Agents in the Pool are provisioned.

* `node_taints` - The list of Kubernetes taints which are applied to nodes in the agent pool

---

Expand Down
2 changes: 2 additions & 0 deletions website/docs/r/kubernetes_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ A `default_node_pool` block supports the following:

* `type` - (Optional) The type of Node Pool which should be created. Possible values are `AvailabilitySet` and `VirtualMachineScaleSets`. Defaults to `VirtualMachineScaleSets`.

* `tags` - (Optional) A mapping of tags to assign to the resource.

* `vnet_subnet_id` - (Required) The ID of a Subnet where the Kubernetes Node Pool should exist. Changing this forces a new resource to be created.

~> **NOTE:** A Route Table must be configured on this Subnet.
Expand Down
6 changes: 6 additions & 0 deletions website/docs/r/kubernetes_cluster_node_pool.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ resource "azurerm_kubernetes_cluster_node_pool" "example" {
kubernetes_cluster_id = azurerm_kubernetes_cluster.example.id
vm_size = "Standard_DS2_v2"
node_count = 1
tags = {
Environment = "Production"
}
}
```

Expand Down Expand Up @@ -76,6 +80,8 @@ The following arguments are supported:

* `os_type` - (Optional) The Operating System which should be used for this Node Pool. Changing this forces a new resource to be created. Possible values are `Linux` and `Windows`. Defaults to `Linux`.

* `tags` - (Optional) A mapping of tags to assign to the resource.

* `vnet_subnet_id` - (Optional) The ID of the Subnet where this Node Pool should exist.

-> **NOTE:** At this time the `vnet_subnet_id` must be the same for all node pools in the cluster
Expand Down

0 comments on commit 601b1ca

Please sign in to comment.