ctrox / csi-s3

A Container Storage Interface for S3
Apache License 2.0
758 stars 167 forks source link

Add correct DNSPolicy to csi-s3 daemonset #76

Open TheMatrix97 opened 1 year ago

TheMatrix97 commented 1 year ago

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 https://github.com/kubernetes/kubernetes/issues/17406

(Tested in local environment with Docker-Desktop minikube)