From aea5f360b51a3592d87c304d81be839c328666c1 Mon Sep 17 00:00:00 2001 From: Xi Bai Date: Fri, 22 Nov 2024 17:22:46 +0000 Subject: [PATCH] remove pod affinity rules for coredns --- cluster/eks.tf | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/cluster/eks.tf b/cluster/eks.tf index c55849f..b3a922c 100644 --- a/cluster/eks.tf +++ b/cluster/eks.tf @@ -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 = {