-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
virtual-kubelet has different DNS resolution behaviour to standard kubelet #99
Comments
grahamhayes
referenced
this issue
in grahamhayes/virtual-kubelet
May 22, 2019
This allows `--cluster-domain` to be passed to virtual kubelet like a traditional kublet, and use this to generate search-domains for `/etc/resolv.conf` * Set default `cluster-domain` to `cluster-local` to match current kubelet * Added an example usage for the Azure provider * * Only apply to pods with `DNSClusterFirst` to match kubelet * * Merge search-domains with any set in the `dnsConfig` Related: #641 Signed-off-by: Graham Hayes <[email protected]>
grahamhayes
referenced
this issue
in grahamhayes/virtual-kubelet
May 23, 2019
This allows `--cluster-domain` to be passed to virtual kubelet like a traditional kublet, and use this to generate search-domains for `/etc/resolv.conf` * Set default `cluster-domain` to `cluster-local` to match current kubelet * Added an example usage for the Azure provider * * Only apply to pods with `DNSClusterFirst` to match kubelet * * Merge search-domains with any set in the `dnsConfig` * * Set `ndots` to the default 5 Related: #641 Signed-off-by: Graham Hayes <[email protected]>
grahamhayes
referenced
this issue
in grahamhayes/virtual-kubelet
Jun 19, 2019
This allows `--cluster-domain` to be passed to virtual kubelet like a traditional kublet, and use this to generate search-domains for `/etc/resolv.conf` * Set default `cluster-domain` to `cluster-local` to match current kubelet Related: #641 Signed-off-by: Graham Hayes <[email protected]>
grahamhayes
referenced
this issue
in grahamhayes/virtual-kubelet
Jun 19, 2019
This allows `--cluster-domain` to be passed to virtual kubelet like a traditional kublet, and use this to generate search-domains for `/etc/resolv.conf` * Set default `cluster-domain` to `cluster-local` to match current kubelet Related: #641 Signed-off-by: Graham Hayes <[email protected]>
Any update on this being resolved? Excuse the pun. |
Redirecting this to @macolso @mikkelhegn for latest updates! |
duplicated with #46 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment summary
Provider (e.g. ACI, AWS Fargate)
ACI
Version (e.g. 0.1, 0.2-beta)
0.9.0
K8s Master Info (e.g. AKS, ACS, Bare Metal, EKS)
AKS
Install Method (e.g. Helm Chart, )
All
Issue Details
When creating a pod, I expect
/etc/resolv.conf
to be populated like a standard AKS kubelet (or plain upstream kubernetes).By default, the search domain is left blank, and while it can be overridden by a dnsConfig section on the pod spec, it means that off the shelf software that generates its own pod specs cannot use the DNS based service discovery it relies on.
Repo Steps
Then (using the ACI interface on the portal)
cat /etc/resolv.conf
or try to connect to a service via the cluster dns name with no dns suffixes.The text was updated successfully, but these errors were encountered: