Skip to content

Commit

Permalink
Merge pull request #1232 from alphagov/dj-maisy/arm-node-taint
Browse files Browse the repository at this point in the history
Add Taint restriction to ARM Nodes
  • Loading branch information
dj-maisy authored Apr 10, 2024
2 parents 5866d56 + 4bd6602 commit a62a517
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 a62a517

Please sign in to comment.