Skip to content

Commit 9654770

Browse files
authored
use better local variable name
1 parent a3b110a commit 9654770

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/complete/terraform/oke-autoscaler.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ locals {
66
cluster_autoscaler_supported_k8s_versions = { "1.18" = "1.18.3-4", "1.19" = "1.19.1-4", "1.20" = "1.20.0-4", "1.21" = "1.21.1-1" } # There's no API to get that list. Need to be updated manually
77
cluster_autoscaler_image_version = lookup(local.cluster_autoscaler_supported_k8s_versions, local.k8s_major_minor_version, reverse(values(local.cluster_autoscaler_supported_k8s_versions))[0])
88
cluster_autoscaler_image = "iad.ocir.io/oracle/oci-cluster-autoscaler:${local.cluster_autoscaler_image_version}"
9-
cluster_autoscaler_app_version = 4
9+
cluster_autoscaler_log_verbosity = 4
1010
cluster_autoscaler_node_pool = var.create_new_oke_cluster ? oci_containerengine_node_pool.oke_node_pool[0].id : var.existent_oke_nodepool_id_for_autoscaler
1111
cluster_autoscaler_min_nodes = var.cluster_autoscaler_min_nodes
1212
cluster_autoscaler_max_nodes = var.cluster_autoscaler_max_nodes
@@ -237,7 +237,7 @@ resource "kubernetes_deployment" "cluster_autoscaler_deployment" {
237237
}
238238
command = [
239239
"./cluster-autoscaler",
240-
"--v=${local.cluster_autoscaler_app_version}",
240+
"--v=${local.cluster_autoscaler_log_verbosity}",
241241
"--stderrthreshold=info",
242242
"--cloud-provider=oci",
243243
"--max-node-provision-time=${local.cluster_autoscaler_max_node_provision_time}",

0 commit comments

Comments
 (0)