Skip to content
Snippets Groups Projects
Verified Commit 3af347d5 authored by Vincent Sellier's avatar Vincent Sellier
Browse files

azure: align with the reality

parent 0068053d
No related branches found
Tags v1.0.0
1 merge request!99azure: align with the reality
...@@ -12,6 +12,8 @@ module "gitlab-production" { ...@@ -12,6 +12,8 @@ module "gitlab-production" {
blob_storage_name = "swheuwestgitlabprod" #can only consist of lowercase letters and numbers, and must be between 3 and 24 characters long blob_storage_name = "swheuwestgitlabprod" #can only consist of lowercase letters and numbers, and must be between 3 and 24 characters long
kubernetes_version = "1.24.6" kubernetes_version = "1.24.6"
container_insights = false container_insights = false
minimal_pool_count = 1
maximal_pool_count = 5
} }
output "gitlab-production_aks_summary" { output "gitlab-production_aks_summary" {
......
...@@ -38,8 +38,8 @@ module "gitlab_aks_cluster" { ...@@ -38,8 +38,8 @@ module "gitlab_aks_cluster" {
cluster_name = var.name cluster_name = var.name
resource_group = var.name resource_group = var.name
minimal_pool_count = 1 minimal_pool_count = var.minimal_pool_count
maximal_pool_count = 5 maximal_pool_count = var.maximal_pool_count
node_type = "Standard_B2ms" node_type = "Standard_B2ms"
kubernetes_version = var.kubernetes_version kubernetes_version = var.kubernetes_version
......
...@@ -34,3 +34,15 @@ variable "container_insights" { ...@@ -34,3 +34,15 @@ variable "container_insights" {
type = bool type = bool
default = false default = false
} }
variable "minimal_pool_count" {
description = "minimal nodes count to instanciate in the node pool"
type = number
default = 1
}
variable "maximal_pool_count" {
description = "minimal nodes count to instanciate in the node pool"
type = number
default = 5
}
...@@ -13,7 +13,7 @@ module "rancher_aks_cluster" { ...@@ -13,7 +13,7 @@ module "rancher_aks_cluster" {
cluster_name = "euwest-rancher" cluster_name = "euwest-rancher"
resource_group = azurerm_resource_group.rancher_rg.name resource_group = azurerm_resource_group.rancher_rg.name
minimal_pool_count = 1 minimal_pool_count = 2
maximal_pool_count = 3 maximal_pool_count = 3
node_type = "Standard_B2ms" node_type = "Standard_B2ms"
public_ip_provisioning = false public_ip_provisioning = false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment