Skip to content

v0.21.18

Compare
Choose a tag to compare
@uchinda-sph uchinda-sph released this 23 Apr 05:29
· 7 commits to main since this release
a12cf36

What's Changed

🏗️ EKS Essentials

  • Added Local Node DNS Cache: The module now includes an option to deploy a local DNS cache (localnode-dns) on each node.
module "eks_essentials" {
  source  = "modules/essentials"

  nodelocaldns_enabled     = true
  nodelocaldns_localdns_ip = "169.254.20.10"
}
  • Enabled CoreDNS Native Autoscaling: CoreDNS, the default DNS server for Kubernetes, now has native autoscaling enabled by default.

🛠️ Karpenter

  • Added karpenter_nodeclass_kubelet_clusterdns_ips Variable: A new variable, karpenter_nodeclass_kubelet_clusterdns_ips, This allows you to explicitly configure the --cluster-dns kubelet flag within Karpenter NodeClass resources.

This is particularly useful when integrating with the newly added local node DNS cache in the EKS essentials. You can now ensure that Karpenter-provisioned nodes are configured to utilize the local DNS cache and the CoreDNS service IP.

module "eks" {
   karpenter_nodeclass_kubelet_clusterdns_ips = [
    "169.254.20.10", # Match with essential module's `nodelocaldns_localdns_ip` 
    "172.20.0.10",   # Match with CoreDNS service IP
  ]
}

Important:

The values provided for karpenter_nodeclass_kubelet_clusterdns_ips should align with the nodelocaldns_localdns_ip from the EKS Essential module (if local node DNS cache is enabled) and the actual service IP of your CoreDNS deployment.

Full Changelog: v0.21.17...v0.21.18