Karpenter nodes get provisioned with default domain in a custom domain cluster #954
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Description
Observed Behavior:
Hi folks! I have a cluster with a custom domain (
ue2.green.aws
). Nodes that are provisioned with cluster-autoscaler have the correct search list set in theresolv.conf
stanza:If I attempt to provision new nodes with Karpenter the search domains reverts back to
cluster.local
. Breaking internal DNS references.This happens when I set
settings.kubernetes.cluster-domain
to my domain or not. I have attempted to setsettings.dns.search-list
however all it does is appends my configured search list to resolv.conf resulting in something like:Taking a look at
cluster-autoscaler
provisioned nodes userData I don't see anything obvious:Expected Behavior:
The custom domain be respect for the search subdomains.
Probably related: aws/karpenter-provider-aws#3166
Reproduction Steps (Please include YAML):
Provision an EKS cluster with a custom domain. Install karpenter and use the following
ec2nodeclass
andnodepool
:The
nodepool
:Versions:
kubectl version
): v1.27.8-eks-8cb36c9The text was updated successfully, but these errors were encountered: