-
Notifications
You must be signed in to change notification settings - Fork 767
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
[BUG] kruise-daemon should use ClusterFirstWithHostNet for the DNS Policy #1447
Labels
Milestone
Comments
@chasain Can you submit pr for this issue in repo https://github.com/openkruise/charts/tree/master/versions/kruise/1.5.1 ? |
zmberg
added
kind/good-first-issue
Good for newcomers
kind/good-idea
Good Idea
and removed
kind/bug
Something isn't working
labels
Nov 16, 2023
can i work on this issue? @zmberg |
/assign @amghazanfari |
Hi @zmberg |
4 tasks
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened: kruise-daemon isn't able to resolve internal DNS entries, i.e. a locally host docker proxy
What you expected to happen: kruise-daemon should be able to resolve service.namespace.svc.cluster.local entries
How to reproduce it (as minimally and precisely as possible): host a docker proxy in a cluster and use an ImagePull job to try to pull images through it, DNS lookup will fail
Anything else we need to know?: This is caused by not defining a dnsPolicy and the default ClusterFirst getting assigned, but since it's created with
hostNetwork: true
this has the effect of setting DNS to the node's DNS. It has to be changed manually to use the Cluster DNS, more info at https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policyEnvironment:
kubectl version
): 1.23.17+k3s1The text was updated successfully, but these errors were encountered: