Commit 33bc4f73 authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Added variable option for max agent count

parent 864d2c54
......@@ -6,7 +6,8 @@ __Infra Changes__
- [Issue 106 - Arch Change - Data Partition - Ingestion Workflow Database and Storage new collections and fileshares](https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/issues/106)
__Bug Fixes__
- [But 109 - Add Entitlement Role](https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/issues/109#related-issues)
- [Bug 109 - Add Entitlement Role](https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/issues/109#related-issues)
- [Bug 108 - Add VM Agent Max Nodes Option](https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/issues/108)
- [Bug 103 - Enable opt-in airflow ui ingress](https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/issues/103)
- [Bug 102 - Users with a lot of groups receive a 400 Bad Request when making API calls](https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/issues/102)
- [Bug 101 - Comsos Graph module always requires a change on tf plan](https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-azure-provisioning/-/issues/101)
......
......@@ -324,6 +324,7 @@ module "aks" {
agent_vm_count = var.aks_agent_vm_count
agent_vm_size = var.aks_agent_vm_size
agent_vm_disk = var.aks_agent_vm_disk
max_node_count = var.aks_agent_vm_maxcount
vnet_subnet_id = module.network.subnets.1
ssh_public_key = file(var.ssh_public_key_file)
kubernetes_version = var.kubernetes_version
......
......@@ -214,6 +214,12 @@ variable "aks_agent_vm_count" {
default = "3"
}
variable "aks_agent_vm_maxcount" {
description = "The max number of nodes allocated to the AKS cluster"
type = string
default = "10"
}
variable "aks_agent_vm_size" {
type = string
description = "The size of each VM in the Agent Pool (e.g. Standard_F1). Changing this forces a new resource to be created."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment