Skip to content

Commit

Permalink
Add Taint restriction to ARM Nodes
Browse files Browse the repository at this point in the history
...also fix lint issues.
  • Loading branch information
dj-maisy committed Apr 10, 2024
1 parent 5866d56 commit 4bd6602
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions terraform/deployments/cluster-infrastructure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ locals {
instance_types = var.arm_workers_instance_types
update_config = { max_unavailable = 1 }
block_device_mappings = local.main_managed_node_group.main.block_device_mappings

taint = {
key = "kubernetes.io/arch"
value = "arm64"
effect = "NO_SCHEDULE"
}

additional_tags = {
"k8s.io/cluster-autoscaler/enabled" = "true"
"k8s.io/cluster-autoscaler/${var.cluster_name}" = "owned"
Expand Down

0 comments on commit 4bd6602

Please sign in to comment.