diff --git a/config/karpenter.tf b/config/karpenter.tf index 8822287..daca700 100644 --- a/config/karpenter.tf +++ b/config/karpenter.tf @@ -50,6 +50,22 @@ resource "helm_release" "karpenter" { name = "settings.aws.interruptionQueueName" value = module.karpenter[0].queue_name } + + set { + name = "tolerations[0].key" + value = "dmz-pod" + } + + set { + name = "tolerations[0].value" + value = "false" + } + + set { + name = "nodeSelector.role" + value = "dmz-1" + } + } resource "kubectl_manifest" "karpenter_provisioner" {