completed readme
This commit is contained in:
parent
7c29b17ca6
commit
bf2f1f5939
@ -6,6 +6,10 @@ This template deploys an AKS cluster with Windows nodes.
|
|||||||
|
|
||||||
- [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet)
|
- [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet)
|
||||||
- [azurerm_resource_group](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group)
|
- [azurerm_resource_group](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group)
|
||||||
|
- [random_string](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string)
|
||||||
|
- [azurerm_virtual_network](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network)
|
||||||
|
- [azurerm_kubernetes_cluster](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster)
|
||||||
|
- [azurerm_kubernetes_cluster_node_pool](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster_node_pool)
|
||||||
|
|
||||||
## Variables
|
## Variables
|
||||||
|
|
||||||
@ -13,6 +17,9 @@ This template deploys an AKS cluster with Windows nodes.
|
|||||||
|-|-|-|
|
|-|-|-|
|
||||||
| `resource_group_name_prefix` | Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. | rg |
|
| `resource_group_name_prefix` | Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. | rg |
|
||||||
| `resource_group_location` | Location of the resource group. | eastus |
|
| `resource_group_location` | Location of the resource group. | eastus |
|
||||||
|
| `node_count_linux` | Initial quantity of Linux nodes for the node pool. | 1 |
|
||||||
|
| `node_count_windows` | Initial quantity of Windows nodes for the node pool. | 1 |
|
||||||
|
| `admin_username` | Admin username for the Windows node pool. | azureuser |
|
||||||
|
| `admin_password` | Admin password for the Windows node pool. | Passw0rd1234Us! |
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
output "resource_group_name" {
|
output "resource_group_name" {
|
||||||
value = azurerm_resource_group.rg.name
|
value = azurerm_resource_group.rg.name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
output "kubernetes_cluster_name" {
|
||||||
|
value = azurerm_kubernetes_cluster.aks.name
|
||||||
|
}
|
||||||
|
|
||||||
|
output "kubernetes_cluster_dns_prefix" {
|
||||||
|
value = azurerm_kubernetes_cluster.aks.dns_prefix
|
||||||
|
}
|
||||||
|
|
||||||
|
output "kubernetes_cluster_node_pool_name" {
|
||||||
|
value = azurerm_kubernetes_cluster_node_pool.win.name
|
||||||
|
}
|
||||||
|
|
||||||
|
output "kubernetes_cluster_kube_config_raw" {
|
||||||
|
value = azurerm_kubernetes_cluster.aks.kube_config_raw
|
||||||
|
sensitive = true
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user