Skip to content

Commit

Permalink
Merge pull request #11 from datafold/chiel-p-3396-deploy-trino-on-azu…
Browse files Browse the repository at this point in the history
…re-4

feat: Add labels to custom nodes
  • Loading branch information
cfernhout authored Oct 30, 2024
2 parents faccf33 + 1f709f1 commit d075cdb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/aks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ resource "azurerm_kubernetes_cluster_node_pool" "custom_node_pools" {
node_taints = [
for taint in each.value.taints : "${taint.key}=${taint.value}:${taint.effect}"
]
node_labels = each.value.labels

tags = var.tags
}
Expand Down
1 change: 1 addition & 0 deletions modules/aks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ variable "custom_node_pools" {
min_node_count = number
max_node_count = number
max_surge = number
labels = map(string)
}))
description = "Dynamic extra node pools"
default = []
Expand Down
1 change: 1 addition & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ variable "custom_node_pools" {
min_node_count = number
max_node_count = number
max_surge = number
labels = map(string)
}))
description = "Dynamic extra node pools"
default = []
Expand Down

0 comments on commit d075cdb

Please sign in to comment.