Skip to content

Commit

Permalink
remove pod affinity rules for coredns
Browse files Browse the repository at this point in the history
  • Loading branch information
baixiac committed Nov 22, 2024
1 parent ceda98b commit aea5f36
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions cluster/eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -126,20 +126,6 @@ module "eks" {
nodeSelector : var.create_dmz_node_group ? {
role : "dmz-1"
} : {},
affinity : {
podAntiAffinity : {
requiredDuringSchedulingIgnoredDuringExecution : [{
labelSelector : {
matchExpressions : [{
key : "k8s-app"
operator : "In"
values : ["kube-dns"]
}]
},
topologyKey : "kubernetes.io/hostname"
}]
}
}
})
}
kube-proxy = {
Expand Down

0 comments on commit aea5f36

Please sign in to comment.