Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Add correct DNSPolicy to csi-s3 daemonset #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TheMatrix97
Copy link

@TheMatrix97 TheMatrix97 commented Jul 12, 2022

Please refer to issue #51
This PR fixes the DNS problems found when trying to query internal services with the default k8s hostnames (coreDNS).
When using Demonsets with hostNetwork = true, we should add the dnsPolicy "ClusterFirstWithHostNet". Although, we cannot access to the Cluster DNS service
https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
kubernetes/kubernetes#17406

(Tested in local environment with Docker-Desktop minikube)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant